Measurement apparatus and computer readable medium storing program for measuring error of a quadrature demodulator or quadrature modulator

ABSTRACT

A measurement apparatus that measures, as an error under measurement, at least one of a gain error and a phase error of a quadrature demodulator or a quadrature modulator as a measurement target. The measurement apparatus includes an output control section that causes the measurement target to output a signal, a detecting section that detects a measured signal representing a real component and an imaginary component of the signal output from the measurement target, and a calculating section that calculates, as the gain error or the phase error, a solution for a variable that maximizes a correlation value between the measured signal detected by the detecting section and an ideal signal that includes the error under measurement as the variable and that represents the measured signal that should be output by the measurement target.

CROSS REFERENCE TO RELATED APPLICATION

This is a continuation application of PCT/JP2008/060077 filed on May 30, 2008 which claims priority from a Japanese Patent Application No. 2007-154101 filed on Jun. 11, 2007, the contents of which are incorporated herein by reference.

BACKGROUND

1. Technical Field

The present invention relates to a measurement apparatus and a program. In particular, the present invention relates to a measurement apparatus and a program for measuring gain error or phase error of a quadrature demodulator or a quadrature modulator.

2. Related Art

The output signal of a quadrature demodulator and a quadrature modulator includes a gain error and a phase error of the quadrature demodulator or the quadrature modulator. Japanese Patent Application Publication No. 2000-316031 discloses a method for calculating the gain error and the phase error in a quadrature-demodulated signal. More specifically, this method involves obtaining parameters that cause a value obtained by summing the square of the error between a measured signal and an ideal signal over a designated section to be a minimum, and calculating the gain error and the phase error based on the obtained parameters.

With the method described above, however, a determinant matrix must be solved, which requires a large amount of computation. Furthermore, when there is a large amount of noise in the measured signal, the error in the calculation result becomes extremely large.

SUMMARY

Therefore, it is an object of an aspect of the innovations herein to provide a measurement apparatus and a program that overcome the above drawbacks accompanying the related art. The above and other objects can be achieved by combinations described in the independent claims. The dependent claims define further advantageous and exemplary combinations of the innovations herein. The dependent claims define further advantageous and exemplary combinations of the innovations herein.

According to a first aspect of the present invention, provided is a measurement apparatus that measures, as an error under measurement, at least one of a gain error and a phase error of a quadrature demodulator or a quadrature modulator, the measurement apparatus comprising an output control section that causes the quadrature demodulator or the quadrature modulator serving as a measurement target to output a signal; a detecting section that detects a measured signal representing a real component and an imaginary component of the signal output from the quadrature demodulator or the quadrature modulator serving as the measurement target; and a calculating section that calculates, as the gain error or the phase error, a solution for a variable that maximizes a correlation value between the measured signal detected by the detecting section and an ideal signal that includes the error under measurement as the variable and that represents the measured signal that should be output by the quadrature demodulator or the quadrature modulator serving as the measurement target.

According to a second aspect of the present invention, provided is a program that causes an information processing apparatus to function as a measurement apparatus that measures, as an error under measurement, at least one of a gain error and a phase error of a quadrature demodulator or a quadrature modulator, the program causing the information processing apparatus to function as an output control section that causes the quadrature demodulator or the quadrature modulator serving as a measurement target to output a signal; a detecting section that detects a measured signal representing a real component and an imaginary component of the signal output from the quadrature demodulator or the quadrature modulator serving as the measurement target; and a calculating section that calculates, as the gain error or the phase error, a solution for a variable that maximizes a correlation value between the measured signal detected by the detecting section and an ideal signal that includes the error under measurement as the variable and that represents the measured signal that should be output by the quadrature demodulator or the quadrature modulator serving as the measurement target.

The summary clause does not necessarily describe all necessary features of the embodiments of the present invention. The present invention may also be a sub-combination of the features described above. The above and other features and advantages of the present invention will become more apparent from the following description of the embodiments taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an exemplary measurement apparatus 10 according to a first embodiment of the present invention, along with a quadrature demodulator 100.

FIG. 2 shows a measurement apparatus 10 according to a second embodiment of the present invention, along with a quadrature modulator 200.

FIG. 3 shows a flow chart for calculation of the gain error and the phase error performed by the measurement apparatus 10 according to the present embodiment.

FIG. 4 shows an example of a hardware configuration of a computer 1900 according to the present embodiment.

DESCRIPTION OF EXEMPLARY EMBODIMENTS

Hereinafter, some embodiments of the present invention will be described. The embodiments do not limit the invention according to the claims, and all the combinations of the features described in the embodiments are not necessarily essential to means provided by aspects of the invention.

FIG. 1 shows an exemplary measurement apparatus 10 according to a first embodiment of the present invention, along with a quadrature demodulator 100. The quadrature demodulator 100 receives a modulated signal S(t) obtained by quadrature modulating transmission data with a carrier signal, and quadrature demodulates the received modulated signal. The quadrature demodulator 100 outputs an I-signal I(t) representing a real component of the modulated signal and a Q-signal Q(t) representing an imaginary component of the modulated signal.

The quadrature demodulator 100 may include an oscillator 102, a phase shifter 104, an I-side multiplier 106, an I-side BPF 108, a Q-side multiplier 110, and a Q-side BPF 112. The oscillator 102 generates a reference signal having the same frequency as the carrier signal of the received modulated signal, for example. The phase shifter 104 shifts the phase of the reference signal generated by the oscillator 102 by −90 degrees. In other words, the phase shifter 104 delays the phase of the reference signal generated by the oscillator 102 by a quarter of a period.

The I-side multiplier 106 multiplies the received modulated signal by the reference signal generated by the oscillator 102. The I-side BPF 108 band-pass filters the signal obtained as a product of the reference signal and the modulated signal. The I-side BPF 108 outputs the I-signal I(t) representing the real component of the signal that is quadrature modulated in the modulated signal, that is, a signal obtained by removing the summed frequency component from the signal obtained as a product of the reference signal and the modulated signal.

The Q-side multiplier 110 multiplies (i) the received modulated signal by (ii) the reference signal having a phase that is delayed by a quarter of a period output from the phase shifter 104. The Q-side BPF 112 band-pass filters a signal obtained by multiplying the quarter-period phase-delayed reference signal and the modulated signal. The Q-side BPF 112 outputs the Q-signal Q(t) representing the imaginary component of a signal that is quadrature modulated in the modulated signal, that is, a signal obtained by removing the summed frequency component from the signal obtained as a product of the quarter-period phase-delayed reference signal and the modulated signal.

Here, the quadrature demodulator 100 includes a gain error element 120 that causes a gain error between the I-signal and the Q-signal, and a phase error element 130 that causes a phase error between the I-signal and the Q-signal. For example, if the amplification rate of the I-signal is 1, the gain error element 120 may be an element that amplifies the Q-signal with an amplification rate of (1+g). Here, g is a real number representing the gain error.

The phase error element 130 may be an element that causes the phase of the quarter-period phase-delayed reference signal supplied from the Q-side multiplier 110 to advance by α degrees. Here, α is an angle representing the phase error. The measurement apparatus 10 of the present embodiment measures at least one of the gain error g and the phase error α of the quadrature demodulator 100.

The measurement apparatus 10 of the present embodiment is provided with an output control section 14, a detecting section 16, and a calculating section 18. The output control section 14 causes the quadrature demodulator 100 under measurement to output a signal. In the present embodiment, the output control section 14 supplies the quadrature demodulator 100 under measurement with the modulated signal obtained by modulating the I-signal and the Q-signal having predetermined phases and amplitudes with the carrier signal. The output control section 14 causes the quadrature demodulator 100 to quadrature demodulate the modulated signal and thereby output the I-signal and the Q-signal.

The output control section 14 may include a signal generating section 20, a digital quadrature modulating section 22, and a DA converting section 24. The signal generating section 20 sequentially generates a data value R_(re)(k) of the real component of the modulated signal and a data value R_(im)(k) of the imaginary component of the modulated signal. The digital quadrature modulating section 22 calculates each sample value of the modulated signal based on the data values R_(re)(k) and R_(im)(k) generated by the signal generating section 20. The digital quadrature modulating section 22 sequentially outputs the sample values of the modulated signal. The DA converting section 24 DA converts each of the sample values output from the digital quadrature modulating section 22, and supplies the resulting analog modulated signal to the quadrature demodulator 100.

The detecting section 16 detects a measured signal representing the real component and the imaginary component of a signal demodulated by the quadrature demodulator 100. In other words, the detecting section 16 detects, as the measured signal, the I-signal I(t) and the Q-signal Q(t) output as a result of the quadrature demodulation of the modulated signal by the quadrature demodulator 100.

The detecting section 16 may include an I-side ADC 26 and a Q-side ADC 28. The I-side ADC 26 AD converts the I-signal output by the quadrature demodulator 100 and outputs the result as the sample value C_(re)(k) of the real part of the measured signal. The Q-side ADC 28 AD converts the Q-signal output by the quadrature demodulator 100 and outputs the result as the sample value C_(im)(k) of the imaginary part of the measured signal.

The calculating section 18 calculates at least one of the gain error g and the phases error α of the quadrature demodulator 100 as the error being measured, based on the measured signal C_(re)(k) and C_(im)(k) detected by the detecting section 16. An exemplary computation by the detecting section 16 is described in detail further below.

The measurement apparatus 10 according to the first embodiment can easily measure the gain error and the phase error of the quadrature demodulator 100. Furthermore, the measurement apparatus 10 described above can accurately calculate the gain error and the phase error of the quadrature demodulator 100 even when there is a large amount of noise.

FIG. 2 shows a measurement apparatus 10 according to a second embodiment of the present invention, along with a quadrature modulator 200. The quadrature modulator 200 receives an I-signal I(t) and a Q-signal Q(t) representing data to be transmitted, modulates the received I-signal with the real component of the carrier signal, and modulates the received Q-signal with the imaginary component of the carrier signal. In other words, the quadrature modulator 200 outputs a modulated signal S(t) that includes the I-signal in the real component and the Q-signal in the imaginary component.

The quadrature modulator 200 may include an oscillator 202, a phase shifter 204, an I-side multiplier 206, a Q-side multiplier 208, and a adder 210. The oscillator 202 generates a carrier signal having a prescribed frequency. The phase shifter 204 shifts the phase of the carrier signal generated by the oscillator 202 by +90 degrees. In other words, the phase shifter 204 advances the phase of the carrier signal generated by the oscillator 202 by a quarter of a period.

The I-side multiplier 206 multiplies (i) the carrier signal generated by the oscillator 202 by (ii) the received I-signal. The Q-side multiplier 208 multiplies (i) the quarter-period phase-advanced carrier signal output by the phase shifter 204 by (ii) the received Q-signal. The adder 210 adds together (i) the signal obtained as the product of the carrier signal and the I-signal and (ii) the signal obtained as the product of the quarter-period phase-advanced carrier signal and the Q-signal. The adder 210 outputs the signal resulting from this addition as the modulated signal S(t).

Here, the quadrature modulator 200 includes a gain error element 220 that causes a gain error between the real component and the imaginary component of the modulated signal, and a phase error element 230 that causes an amplitude error between the real component and the imaginary component of the modulated signal. For example, if the amplification rate of the real component of the modulated signal is 1, the gain error element 220 may be an element that amplifies the imaginary component of the modulated signal with an amplification rate of (1+g).

The phase error element 230 may be an element that causes the phase of the quarter-period phase-advanced carrier signal supplied to the Q-side multiplier 208 to advance by α degrees. Here, α is an angle representing the phase error. The measurement apparatus 10 of the present embodiment measures at least one of the gain error g and the phase error α of the quadrature modulator 200.

The measurement apparatus 10 of the present embodiment is provided with the output control section 14, the detecting section 16, and the calculating section 18. The output control section 14 causes the quadrature modulator 200 under measurement to output a signal. In the present embodiment, the output control section 14 supplies the quadrature modulator 200 under measurement with the I-signal and the Q-signal having predetermined phases and amplitudes. The output control section 14 causes the quadrature modulator 200 to quadrature modulate the I-signal and the Q-signal and thereby output the modulated signal.

The output control section 14 may include a signal generating section 30, an I-side DAC 32, and a Q-side DAC 34. The signal generating section 30 sequentially generates a data value R_(re)(k) of the I-signal and a data value R_(im)(k) of the Q-signal. The I-side DAC 32 DA converts data value R_(re)(k) of the I-signal generated by the signal generating section 30, and supplies the resulting analog I-signal to the quadrature modulator 200. The Q-side DAC 34 DA converts the data value R_(im)(k) of the Q-signal generated by the signal generating section 30, and supplies the resulting analog Q-signal to the quadrature modulator 200.

The detecting section 16 detects a measured signal representing the real component and the imaginary component of a modulated signal form the quadrature modulator 200. The detecting section 16 may include an AD converting section 36 and a digital quadrature demodulating section 38. The AD converting section 36 AD converts the modulated signal output by the quadrature modulator 200. The digital quadrature demodulating section 38 digitally quadrature modulates each sample value of the modulated signal that is AD converted by the AD converting section 36, and sequentially outputs sample values C_(re)(k) of the real part of the modulated signal and sample values C_(im)(k) of the imaginary part of the modulated signal.

The calculating section 18 calculates at least one of the gain error g and the phases error α of the quadrature modulator 200 as the error being measured, based on the measured signal C_(re)(k) and C_(im)(k) detected by the detecting section 16. An exemplary computation by the detecting section 16 is described in detail further below.

The measurement apparatus 10 according to the second embodiment can easily measure the gain error and the phase error of the quadrature modulator 200. Furthermore, the measurement apparatus 10 described above can accurately calculate the gain error and the phase error of the quadrature modulator 200 even when there is a large amount of noise.

The following is a detailed description of an exemplary calculation by the calculating section 18 according to the present embodiment. The calculating section 18 calculates a solution for a variable that maximizes a correlation value between (i) an ideal signal R representing the measured signal to be output from the quadrature demodulator 100 or the quadrature modulator 200, which includes an error being measured as a variable, and (ii) a measured signal Z detected by the detecting section 16. The calculating section 18 outputs the calculated solution as the error being measured, i.e. the gain error g or the phase error α.

Here, the correlation value ρ between the ideal signal R and the measured signal Z Can be expressed by Expression 1 below. In Expression 1, R represents the ideal signal, Z represents the measured signal, and R* represents the complex conjugate of R.

$\begin{matrix} {\rho = \frac{{{\sum{Z \cdot R^{*}}}}^{2}}{\sum{{Z}^{2} \cdot {\sum{R}^{2}}}}} & (1) \end{matrix}$

In other words, the calculating section 18 calculates |ΣZ·R|², which is the square of the value obtained as the summation, over a designated period, of the value of the product of the measured signal Z and the complex conjugate R* of the ideal signal R. The calculating section 18 calculates the correlation value ρ by dividing the value calculated for |ΣZ·R*|² by Σ|Z|²·Σ|R|², which is a product of (i) the summation value of the square of the measured signal Z over the designated period and (ii) the summation value of the square of the ideal signal R over the designated period. In this way, the calculating section 18 can calculate the gain error and the phase error without solving for a determinant of a matrix or the like.

Furthermore, the calculating section 18 calculates the solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z based on an equation for which the derivative of the function representing the correlation value ρ between the ideal signal R and the measured signal Z is 0. Therefore, the calculating section 18 can calculate the variable value, i.e. the gain error or the phase error, that results in the maximum correlation value ρ by calculating the maximum point of the function expressing the correlation value ρ.

Furthermore, the calculating section 18 may calculate solutions for the variable that maximize the correlation value between the ideal signal R and the measured signal Z based on an equation for which the derivative of the function ρ′ expressed as Expression 2 below is 0, for example.

$\begin{matrix} {\rho^{\prime} = \frac{{{\sum{Z \cdot R^{*}}}}^{2}}{\sum{R}^{2}}} & (2) \end{matrix}$

In other words, the calculating section 18 may calculate the correlation value ρ′ by replacing the denominator Σ|Z|² of Expression 1 with a value of 1. Regardless of the type of value of Σ|Z|² in the denominator in Expression 1, that is, regardless of the type of value of the measured signal, the value of the variable resulting in the maximum correlation value ρ does not change. Accordingly, the calculating section 18 can calculate a solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z by using Expression 2, which requires only a small amount of computation.

The derivative of the fraction is expressed below.

$\begin{matrix} {{\frac{\partial}{\partial x}\left( \frac{f(x)}{g(x)} \right)} = {{\frac{\partial{f(x)}}{\partial x} \cdot \frac{1}{g(x)}} - {{{f(x)} \cdot \frac{1}{g^{2}(x)}}\frac{\partial{g(x)}}{\partial x}}}} & (3) \end{matrix}$

An equation for which the derivative of the function for ρ′ of Expression 2 has a value of 0 is shown below.

$\begin{matrix} {\frac{\partial\rho^{\prime}}{\partial\Delta} = {{{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \frac{1}{\sum{R}^{2}}} - {{{\sum{Z \cdot R^{*}}}}^{2} \cdot \frac{1}{\left( {\sum{R}^{2\;}} \right)^{2}} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}} = 0}} & (4) \end{matrix}$

Accordingly, the calculating section 18 can calculate a solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z by solving the equation expressed by Expression 5 below. In Expression 5, Δ represents the variable.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2\;}} \right)^{2}} = {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2\;} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} & (5) \end{matrix}$

The following is a detailed description of an exemplary calculation performed by the calculating section 18 when calculating the gain error of the quadrature demodulator 100.

The measured signal Z, which expresses the signal output from the quadrature demodulator 100 with a real component and an imaginary component, is expressed below in Expression 6. In Expression 6, C_(re)(k) represents the real component of the measured signal Z, C_(im)(k) represents the imaginary component of the measured signal Z, and k represents an arbitrary sampling point in each signal. Z=C _(re)(k)+j·C _(im)(k)  (6)

The ideal signal R, which includes the gain error as the variable and expresses the measured signal to be output from the quadrature demodulator 100, is expressed in Expression 7 below. In Expression 7, R_(re)(k) represents the real component of the modulated signal under measurement supplied to the quadrature demodulator 100, R_(im)(k) represents the imaginary component of the modulated signal, Δ represents the gain error, and θ₀ represents a phase difference between a reference signal of the quadrature demodulator 100 and a carrier signal of the modulated signal under measurement supplied to the quadrature demodulator 100. R=R _(re)(k)·cos θ₀ −R _(im)(k)·sin θ₀ +j·(1+Δ)·[R _(re)(k)·sin θ₀ +R _(im)(k)·cos θ₀]  (7)

Expressions 6 and 7 are substituted into Expression 2, as shown below.

$\begin{matrix} {\rho^{\prime} = \frac{{{\sum{Z \cdot R^{*}}}}^{2}}{\sum{R}^{2}}} & (2) \end{matrix}$

The numerator |ΣZ·R*|² of Expression 2 into which Expressions 6 and 7 are substituted is expressed below in Expression 8.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\sum\left\lbrack {\left( {{C_{re}(k)} + {j \cdot {C_{im}(k)}}} \right) \cdot \begin{Bmatrix} {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}} -} \\ {j \cdot \left( {1 + \Delta} \right) \cdot \left\lbrack {{{{R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{{R_{im}(k)} \cdot \cos}\;\theta_{0}}} \right\rbrack} \end{Bmatrix}} \right\rbrack^{2}}}} \\ {= {{\sum\begin{bmatrix} {{{{C_{re}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} -} \\ {{{j \cdot {C_{re}(k)} \cdot \left( {1 + \Delta} \right) \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} - {{j \cdot {C_{re}(k)} \cdot \left( {1 + \Delta} \right) \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} +} \\ {{{j \cdot {C_{im}(k)} \cdot {R_{re}(k)}}\cos\;\theta_{0}} - {{j \cdot {C_{im}(k)} \cdot {R_{im}(k)}}\sin\;\theta_{0}} +} \\ {{{{C_{im}(k)} \cdot \left( {1 + \Delta} \right) \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{{C_{im}(k)} \cdot \left( {1 + \Delta} \right) \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}}} \end{bmatrix}}}^{2}} \\ {= {\begin{matrix} {{\sum{{{C_{re}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}}} - {\sum{{{C_{re}(k)} \cdot R_{im}}{(k) \cdot \sin}\;\theta_{0}}} +} \\ {{\sum{{{C_{im}(k)} \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}}} + {{\Delta \cdot {C_{im}(k)} \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} +} \\ {{\sum{{{C_{im}(k)} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}}} + {{\Delta \cdot {C_{im}(k)} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} -} \\ {{j \cdot {\sum{{{C_{re}(k)} \cdot R_{re}}{(k) \cdot \sin}\;\theta_{0}}}} - {j \cdot \Delta \cdot {\sum{{{C_{re}(k)} \cdot R_{re}}{(k) \cdot \sin}\;\theta_{0}}}} -} \\ {{j \cdot {\sum{{{C_{re}(k)} \cdot R_{im}}{(k) \cdot \cos}\;\theta_{0}}}} - {j \cdot \Delta \cdot {\sum{{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}}}} +} \\ {{j \cdot {\sum{{{C_{im}(k)} \cdot R_{re}}{(k) \cdot \cos}\;\theta_{0}}}} - {j \cdot {\sum{{{C_{im}(k)} \cdot R_{im}}{(k) \cdot \sin}\;\theta_{0}}}}} \end{matrix}}^{2}} \end{matrix} & (8) \end{matrix}$

Here, the expressions are defined as shown in Expression 9 below. f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k)  (9)

Substituting each expression defined in Expression 9 into Expression 8 results in the following expression.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {\begin{matrix} {{\cos\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{\sin\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} -} \\ {{{j \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{j \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} -} \\ {{{j \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{j \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{{j \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {{j \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}} \end{matrix}}^{2}} \\ {= {\begin{pmatrix} {{\cos\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{\sin\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}}} \end{pmatrix}^{2} +}} \\ {\begin{pmatrix} {{{- \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} -} \\ {{\cos\;{\theta_{0} \cdot f_{{re},{im}}}} - {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{im}}}}} \end{pmatrix}^{2}} \end{matrix} & (10) \end{matrix}$

Expanding this expression results in Expression 11.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Lambda \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Lambda \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}}} & (11) \end{matrix}$

Simplifying the constant terms of the variable Δ in Expression 11 results in the expression below.

$\begin{matrix} {{{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}}}} & (12) \end{matrix}$

Simplifying the first-order terms of the variable Δ in Expression 11 results in the following expression.

$\begin{matrix} {{{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} = {{2 \cdot f_{{re},{re}} \cdot \Delta \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot \Delta \cdot f_{{im},{re}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}}} & (13) \end{matrix}$

Simplifying the second-order terms of the variable Δ in Expression 11 results in the following expression.

$\begin{matrix} {{{{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} = {{{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{2 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}}} & (14) \end{matrix}$

Based on the above, when calculating the gain error of the quadrature demodulator 100, the numerator |ΣZ·R*|² of Expression 2 representing the correlation value ρ between the ideal signal R and the measured signal Z can be expressed by Expression 15 below.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} +}} \\ {{2 \cdot f_{{re},{re}} \cdot \Delta \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot \Delta \cdot f_{{im},{re}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{\Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{2 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{\Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} \\ {= {{f_{{re},{re}} \cdot f_{{re},{re}}} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} +}} \\ {{\Delta \cdot \begin{pmatrix} {{2 \cdot f_{{re},{re}} \cdot \Delta \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot \Delta \cdot f_{{im},{re}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix}} +} \\ {\Delta^{2} \cdot \begin{pmatrix} {{\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot {+ 2} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix}} \end{matrix} & (15) \end{matrix}$

The denominator Σ|R|² of Expression 2 into which Expressions 6 and 7 are substituted is expressed by Expression 16 below.

$\begin{matrix} \begin{matrix} {{\sum{R}^{2}} = {\sum\left\{ {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}} + {j \cdot \left( {1 + \Delta} \right) \cdot \left\lbrack {{{{R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{{R_{im}(k)} \cdot \cos}\;\theta_{0}}} \right\rbrack}} \right\}^{2}}} \\ {= {\sum\left\{ {\left( {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}}} \right)^{2} + {\left( {1 + \Delta} \right)^{2} \cdot \left\lbrack {{{{R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{{R_{im}(k)} \cdot \cos}\;\theta_{0}}} \right\rbrack^{2}}} \right\}}} \\ {= {\sum\begin{Bmatrix} {{{{R_{re}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{2 \cdot {R_{re}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \sin}\;{\theta_{0} \cdot R_{im}}{(k) \cdot \sin}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} +} \\ {{{{R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{2 \cdot {R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} + {{{R_{im}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} +} \\ {{{2 \cdot \Delta \cdot {R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{2 \cdot \Delta \cdot 2 \cdot {R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} +} \\ {{{2 \cdot \Delta \cdot {R_{im}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} +} \\ {{{\Delta^{2} \cdot {R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{re}(k)} \cdot \sin}\;\theta_{0}} + {{\Delta^{2} \cdot {R_{re}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} +} \\ {{\Delta^{2} \cdot {R_{im}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \cos}\;\theta_{0}} \end{Bmatrix}}} \\ {= {{\sum{{R_{re}(k)} \cdot {R_{re}(k)}}} + {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}} +}} \\ {{{2 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}}} + {{4 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{{R_{re}(k)} \cdot R_{im}}(k)}}}} +} \\ {{{2 \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{{R_{im}(k)} \cdot R_{im}}(k)}}}} +} \\ {{{\Delta^{2} \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}}} + {{2 \cdot \Delta^{2} \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}}} +} \\ {{\Delta^{2} \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} \end{matrix} & (16) \end{matrix}$

Here, the expressions are defined as shown in Expression 17. g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k)  (17)

Each expression defined in Expression 17 is substituted into Expression 16 to achieve Expression 18 below. In other words, when calculating the gain error of the quadrature demodulator 100, the denominator Σ|R|² of Expression 2 representing the correlation value ρ between the ideal signal R and the measured signal Z can be expressed by Expression 18.

$\begin{matrix} {{\sum{R}^{2}} = {{g_{{re},{re}} + g_{{im},{im}} + {{2 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \Delta \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \Delta \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}} + {{\Delta^{2} \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \Delta^{2} \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{\Delta^{2} \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} = {g_{{re},{re}} + g_{{im},{im}} + {\Delta \cdot \left( {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)} + {\Delta^{2} \cdot \left( {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)}}}} & (18) \end{matrix}$

Next, Expressions 15 and 18 are substituted into Expression 5, which represents an equation for which the derivative of the function ρ′ is 0.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} & (5) \end{matrix}$

Each expression on the left side of Expression 5 into which Expressions 15 and 18 are substituted is expressed by Expressions—19-1 and 19-2 below.

$\begin{matrix} \begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {\begin{pmatrix} {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix} +}} \\ {2 \cdot \Delta \cdot \begin{pmatrix} {{\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix}} \end{matrix} & \left( {19\text{-}1} \right) \\ {\left( {\sum{R}^{2}} \right)^{2} = \begin{bmatrix} {g_{{re},{re}} + g_{{im},{im}} +} \\ {{\Delta \cdot \left( {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)} +} \\ {\Delta^{2} \cdot \left( {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}}} \right)} \end{bmatrix}^{2}} & \left( {19\text{-}2} \right) \end{matrix}$

Here, the expressions are defined as shown in Expression 20.

$\begin{matrix} {{h_{1} = {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}}}{h_{2} = {{\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}}}{h_{3} = {g_{{re},{re}} + g_{{im},{im}}}}{h_{4} = {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}}}{h_{5} = {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}}}} & (20) \end{matrix}$

Each expression defined in Expression 20 is substituted into Expressions 19-1 and 19-2 to achieve the following expression.

$\begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {{h_{1} + {2 \cdot \Delta \cdot {h_{2}\left( {\sum{R}^{2}} \right)}^{2}}} = \left( {h_{3} + {\Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5}}} \right)^{2}}} & (21) \end{matrix}$

Accordingly, the left side of Expression 5 into which Expressions 15 and 18 are substituted is expressed by Expression 22 below.

$\begin{matrix} \begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {\left( {h_{1} + {2 \cdot \Delta \cdot h_{2}}} \right)~ \cdot \left( {{h_{3} \cdot \Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5}}} \right) \cdot \left( {{h_{3} \cdot \Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5}}} \right)}} \\ {= {\left( {h_{1} + {2 \cdot \Delta \cdot h_{2}}} \right) \cdot \begin{pmatrix} {{h_{3} \cdot h_{3} \cdot h_{3} \cdot \Delta \cdot h_{4}} + {h_{3} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{\Delta \cdot h_{4} \cdot h_{3}} + {\Delta \cdot h_{4} \cdot \Delta \cdot h_{4}} + {\Delta \cdot h_{4} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{\Delta^{2} \cdot h_{5} \cdot h_{3} \cdot \Delta^{2} \cdot h_{5} \cdot \Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix}}} \\ {= {\begin{pmatrix} {{h_{1} \cdot h_{3} \cdot h_{3}} + {h_{1} \cdot h_{3} \cdot \Delta \cdot h_{4}} + {h_{1} \cdot h_{3} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{h_{1} \cdot \Delta \cdot h_{4} \cdot h_{3}} + {h_{1} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{4}} + {h_{1} \cdot \Delta \cdot h_{4} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{h_{1} \cdot \Delta^{2} \cdot h_{5} \cdot h_{3}} + {h_{1} \cdot \Delta^{2} \cdot h_{5} \cdot \Delta \cdot h_{4}} + {h_{1} \cdot \Delta^{2} \cdot h_{5} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix} +}} \\ {\begin{pmatrix} {{2 \cdot \Delta \cdot h_{2} \cdot h_{3} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{2} \cdot h_{3} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{2} \cdot h_{3} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{2 \cdot \Delta \cdot h_{2} \cdot \Delta \cdot h_{4} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{2} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{2} \cdot \Delta \cdot h_{4} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{2 \cdot \Delta \cdot h_{2} \cdot \Delta^{2} \cdot h_{5} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{2} \cdot \Delta^{2} \cdot h_{5} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{2} \cdot \Delta^{2} \cdot h_{5} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix}} \end{matrix} & (22) \end{matrix}$

Simplifying each order of terms of the variable Δ in Expression 22 results in Expression 23.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{h_{1} \cdot h_{3} \cdot h_{4}} + {h_{1} \cdot h_{4} \cdot h_{3}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{1} \cdot h_{3} \cdot h_{5}} + {h_{1} \cdot h_{4} \cdot h_{4}} + {h_{1} \cdot h_{5} \cdot h_{3}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{4} \cdot h_{3}}} \right)} + {\Delta^{3} \cdot \left( {{h_{1} \cdot h_{4} \cdot h_{5}} + {h_{1} \cdot h_{5} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{5}} + {2 \cdot h_{2} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{5} \cdot h_{3}}} \right)} + {\Delta^{4} \cdot \left( {{h_{1} \cdot h_{5} \cdot h_{5}} + {2 \cdot h_{2} \cdot h_{4} \cdot h_{5}} + {2 \cdot h_{2} \cdot h_{5} \cdot h_{4}}} \right)} + {\Delta^{5} \cdot \left( {2 \cdot h_{1} \cdot h_{5} \cdot h_{5}} \right)}}} & (23) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 23 to achieve a second-order equation expressed by Expression 24.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} \cong {{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{5}} + {h_{1} \cdot h_{4} \cdot h_{4}} + {4 \cdot h_{2} \cdot h_{3} \cdot h_{4}}} \right)}}} & (24) \end{matrix}$

Each expression on the right side of Expression 5 of into which Expressions 15 and 18 are substituted is expressed by Expressions—25-1, 25-2, and 25-3.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} +}} \\ {{\Delta \cdot \begin{pmatrix} {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix}} +} \\ {\Delta^{2} \cdot \begin{pmatrix} {{\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \end{pmatrix}} \end{matrix} & \left( {25\text{-}1} \right) \\ \begin{matrix} {{\sum{R}^{2}} = {g_{{re},{re}} + g_{{im},{im}} +}} \\ {{\Delta \cdot \left( {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)} +} \\ {\Delta^{2} \cdot \left( {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)} \end{matrix} & \left( {25\text{-}2} \right) \\ \begin{matrix} {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {\left( {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right) +}} \\ {2 \cdot \Delta \cdot \left( {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}} \cdot 2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}} \right)} \end{matrix} & \left( {25\text{-}3} \right) \end{matrix}$

Here, each expression is defined as shown in Expression 26. h ₆ =f _(re,re) ·f _(re,re)+2·f _(re,re) ·f _(im,im) +f _(re,im) ·f _(re,im)−2·f _(re,im) ·f _(im,re) +f _(im,re) ·f _(im,re) +f _(im,im) ·f _(im,im)  (26)

Each expression defined in Expressions 20 and 26 is substituted into Expressions—25-1, 25-2, and 25-3 to achieve the following expressions.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} = {h_{6} + {\Delta \cdot h_{1}} + {\Delta^{2} \cdot h_{2}}}}{{\sum{R}^{2}} = {h_{3} + {\Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5}}}}{\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {h_{4} + {2 \cdot \Delta \cdot h_{5}}}}} & (27) \end{matrix}$

Accordingly, the right side of Expression 5 into which Expressions 15 and 18 are substituted is expressed by Expression 28.

$\begin{matrix} \begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} = {\left( {h_{6} + {\Delta \cdot h_{1}} + {\Delta^{2} \cdot h_{2}}} \right) \cdot \left( {h_{3} + {\Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{5}}} \right) \cdot \left( {h_{4} + {2 \cdot \Delta \cdot h_{5}}} \right)}} \\ {= {\begin{pmatrix} {{h_{6} \cdot h_{3}} + {h_{6} \cdot \Delta \cdot h_{4}} + {h_{6} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{\Delta \cdot h_{1} \cdot h_{3}} + {\Delta \cdot h_{1} \cdot \Delta \cdot h_{4}} + {\Delta \cdot h_{1} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{\Delta^{2} \cdot h_{2} \cdot h_{3}} + {\Delta^{2} \cdot h_{2} \cdot \Delta \cdot h_{4}} + {\Delta^{2} \cdot h_{2} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix} \cdot \left( {h_{4} + {2 \cdot \Delta \cdot h_{5}}} \right)}} \\ {= {\begin{pmatrix} {{h_{4} \cdot h_{6} \cdot h_{3}} + {h_{4} \cdot h_{6} \cdot \Delta \cdot h_{4}} + {h_{4} \cdot h_{6} \cdot \Delta_{2} \cdot h_{5}} +} \\ {{h_{4} \cdot \Delta \cdot h_{1} \cdot h_{3}} + {h_{4} \cdot \Delta \cdot h_{1} \cdot \Delta \cdot h_{4}} + {h_{4} \cdot \Delta \cdot h_{1} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{h_{4} \cdot \Delta^{2} \cdot h_{2} \cdot h_{3}} + {h_{4} \cdot \Delta^{2} \cdot h_{2} \cdot \Delta \cdot h_{4}} + {h_{4} \cdot \Delta^{2} \cdot h_{2} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix} +}} \\ {\begin{pmatrix} {{2 \cdot \Delta \cdot h_{5} \cdot h_{6} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{5} \cdot h_{6} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{5} \cdot h_{6} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{2 \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{1} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{1} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{1} \cdot \Delta^{2} \cdot h_{5}} +} \\ {{2 \cdot \Delta \cdot h_{5} \cdot \Delta^{2} \cdot h_{2} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{5} \cdot \Delta^{2} \cdot h_{2} \cdot \Delta \cdot h_{4}} + {2 \cdot \Delta \cdot h_{5} \cdot \Delta^{2} \cdot h_{2} \cdot \Delta^{2} \cdot h_{5}}} \end{pmatrix}} \end{matrix} & (28) \end{matrix}$

Simplifying each order of terms of the variable Δ in Expression 28 results in Expression 29.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} = {{h_{4} \cdot h_{6} \cdot h_{3}} + {\Delta \cdot \left( {{h_{4} \cdot h_{6} \cdot h_{4}} + {h_{4} \cdot h_{1} \cdot h_{3}} + {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{4} \cdot h_{6} \cdot h_{5}} + {h_{4} \cdot h_{1} \cdot h_{4}} + {h_{4} \cdot h_{2} \cdot h_{3}} + {2 \cdot h_{5} \cdot h_{6} \cdot h_{4}} + {2 \cdot h_{5} \cdot h_{1} \cdot h_{3}}} \right)} + {\Delta^{3} \cdot \left( {{h_{4} \cdot h_{1} \cdot h_{5}} + {h_{4} \cdot h_{2} \cdot h_{4}} + {2 \cdot h_{5} \cdot h_{6} \cdot h_{5}} + {2 \cdot h_{5} \cdot h_{1} \cdot h_{4}} + {2 \cdot h_{5} \cdot h_{2} \cdot h_{3}}} \right)} + {\Delta^{4} \cdot \left( {{h_{4} \cdot h_{2} \cdot h_{5}} + {2 \cdot h_{5} \cdot h_{1} \cdot h_{5}} + {2 \cdot h_{5} \cdot h_{2} \cdot h_{4}}} \right)} + {\Delta^{5} \cdot \left( {2 \cdot h_{5} \cdot h_{2} \cdot h_{5}} \right)}}} & (29) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 29 to achieve a second-order equation expressed by Expression 30.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} \cong {{h_{4} \cdot h_{6} \cdot h_{3}} + {\Delta \cdot \left( {{h_{4} \cdot h_{6} \cdot h_{4}} + {h_{4} \cdot h_{1} \cdot h_{3}} + {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{4} \cdot h_{1} \cdot h_{4}} + {h_{4} \cdot h_{2} \cdot h_{3}} + {3 \cdot h_{5} \cdot h_{6} \cdot h_{4}} + {2 \cdot h_{5} \cdot h_{1} \cdot h_{3}}} \right)}}} & (30) \end{matrix}$

Accordingly, the equation for which the derivative of the correlation value between the ideal signal R and the measured signal has a value of 0 can be expressed as a second-order equation of the variable Δ, as shown in Expression 31, by simplifying Expressions 24 and 30.

$\begin{matrix} {{{{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} - {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} = 0}{{{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{5}} + {h_{1} \cdot h_{4} \cdot h_{4}} + {4 \cdot h_{2} \cdot h_{3} \cdot h_{4}}} \right)} - {h_{4} \cdot h_{6} \cdot h_{3}} - {\Delta \cdot \left( {{h_{4} \cdot h_{6} \cdot h_{4}} + {h_{4} \cdot h_{1} \cdot h_{3}} + {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}} \right)} - {\Delta^{2} \cdot \left( {{h_{4} \cdot h_{1} \cdot h_{4}} + {h_{4} \cdot h_{2} \cdot h_{3}} + {3 \cdot h_{5} \cdot h_{6} \cdot h_{4}} + {2 \cdot h_{5} \cdot h_{1} \cdot h_{3}}} \right)}} = 0}{{{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{3}} + {\Delta \cdot \left( {{h_{1} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{4}} - {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{3 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {3 \cdot h_{5} \cdot h_{6} \cdot h_{4}}} \right)}} = 0}} & (31) \end{matrix}$

The calculating section 18 can calculate the value of the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z by calculating solutions of the variable Δ in the second-order equation expressed by Expression 31. The solutions to the second-order equation of Expression 31 are supplied by the formula for solutions shown in Expression 32. In Expression 31, h₁, h₂, h₃, h₄, h₅, and h₆ are as expressed in Expressions 20 and 26.

$\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4{ac}}}}{2a}}{a = {{3 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {3 \cdot h_{5} \cdot h_{6} \cdot h_{4}}}}{b = {{h_{1} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{4}} - {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}}}{c = {{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{3}}}}} & (32) \end{matrix}$

Based on the above, when calculating the gain error of the quadrature demodulator 100, the calculating section 18 can use Expression 32 to calculate a solution for the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z. In other words, the calculating section 18 calculates a solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z based on a second-order equation obtained by removing third-order terms and higher of the variable Δ from an equation for which the derivative of the function representing the correlation value between the ideal signal R and the measured signal Z has a value of 0. In this way, the calculating section 18 can calculate an approximate solution for the gain error of the quadrature demodulator 100 using a simple computation.

Furthermore, the calculating section 18 substitutes each of the two solutions of the second-order equation into a function, such as Expression 2, expressing the correlation value between the ideal signal R and the measured signal Z, and determines the gain error to be whichever of the two solutions results in a greater correlation value. In this way, the calculating section 18 selects a single solution from among the two solutions of the second-order equation.

As described above, the calculating section 18 of the present embodiment can use Expression 32 to calculate the gain error of the quadrature demodulator 100. In this way, the calculating section 18 can easily calculate the gain error without using the determinant of a matrix or the like.

The following is a detailed description of an exemplary computation performed by the calculating section 18 when calculating the gain error of the quadrature modulator 200.

The measured signal Z representing the real component and the imaginary component of the modulated signal output by the quadrature modulator 200 is expressed by Expression 33 below. In Expression 33, C_(re)(k) represents the real component of the measured signal Z, C_(im)(k) represents the imaginary component of the measured signal Z, and k represents an arbitrary sampling point of each signal. Z=C _(re)(k)+j·C _(im)(k)  (33)

The ideal signal R, which includes the gain error as the variable and expresses the measured signal to be output from the quadrature modulator 200, is expressed in Expression 34 below. In Expression 34, R_(re)(k) represents the real component of the signal under measurement supplied to the quadrature modulator 200, R_(im)(k) represents the imaginary component of the signal, and Δ represents the gain error. R=R _(re)(k)+j·(1+Δ)·R _(im)(k)  (34)

Here, the ideal signal R expressing the measured signal to be output from the quadrature modulator 200 when the measured signal Z is phase-rotated by θ₀ is expressed by Expression 35. R=R _(re)(k)·cos θ₀ −R _(im)(k)·sin θ₀ +j·(1+Δ)·[R _(re)(k)·sin θ₀ +R _(im)(k)·cos θ₀]  (35)

Expression 35 is the same as Expression 7 for the ideal signal when calculating the gain error of the quadrature demodulator 100. Accordingly, the calculation of the gain error of the quadrature modulator 200 when the measured signal Z is phase-rotated by θ₀ is the same as the calculation made for the quadrature demodulator 100.

Therefore, when the gain error of the quadrature modulator 200 is measured, the calculating section 18 performs a correction, such as a phase rotation, on the phase of the measured signal Z according to θ₀, and then performs the same calculation, such as Expression 32, as performed for the quadrature demodulator 100. In this way, the calculating section 18 of the present embodiment can easily calculate the gain error of the quadrature modulator 200 without using the determinant of a matrix or the like.

The following is a detailed description of an exemplary computation performed by the calculating section 18 when calculating the phase error of the quadrature demodulator 100.

The measured signal Z, which expresses a real component and an imaginary component of the signal output from the quadrature demodulator 100 with, is expressed below in Expression 36. In Expression 36, C_(re)(k) represents the real component of the measured signal Z, C_(im)(k) represents the imaginary component of the measured signal Z, and k represents an arbitrary sampling point in each signal. Z=C _(re)(k)+j·C _(im)(k)  (36)

The ideal signal R, which includes the phase error as the variable and expresses the measured signal to be output from the quadrature demodulator 100, is expressed in Expression 37 below. In Expression 37, R_(re)(k) represents the real component of the modulated signal under measurement supplied to the quadrature demodulator 100, R_(im)(k) represents the imaginary component of the modulated signal, Δ represents the gain error, and θ₀ represents a phase difference between a reference signal of the quadrature demodulator 100 and a carrier signal of the modulated signal under measurement supplied to the quadrature demodulator 100. R=R _(re)(k)·cos θ₀ −R _(im)(k)·sin θ₀ +j·[R _(re)(k)·sin(θ₀−Δ)+R _(im)(k)·cos(θ₀−Δ)]  (37)

Expressions 36 and 37 are substituted into Expression 2, as shown below.

$\begin{matrix} {\rho^{\prime} = \frac{{{\sum{Z \cdot R^{*}}}}^{2}}{\sum{R}^{2}}} & (2) \end{matrix}$

The numerator |ΣZ·R*|² of Expression 2 into which Expressions 36 and 37 are substituted is expressed below in Expression 38.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\sum\left\lbrack {\left( {{C_{re}(k)} + {j \cdot {C_{im}(k)}}} \right) \cdot \begin{Bmatrix} {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}} -} \\ {j \cdot \left\lbrack {{{R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} + {{R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}}} \right\rbrack} \end{Bmatrix}} \right\rbrack^{2}}}} \\ {= {{\sum\begin{bmatrix} {{{{C_{re}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} -} \\ {{j \cdot {C_{re}(k)} \cdot {R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} - {j \cdot {C_{re}(k)} \cdot {R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}} +} \\ {{{j \cdot {C_{im}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{j \cdot {C_{im}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} +} \\ {{{C_{im}(k)} \cdot {R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} + {{C_{im}(k)} \cdot {R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}}} \end{bmatrix}}}^{2}} \\ {= {\begin{matrix} {{\sum{{{C_{re}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}}} - {\sum{{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}}} +} \\ {{\sum{{C_{im}(k)} \cdot {R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}}} + {\sum{{{C_{im}(k)} \cdot {R_{im}(k)} \cdot \cos}\left( {\theta_{0} - \Delta} \right)}} -} \\ {{j \cdot {\sum{{{C_{re}(k)} \cdot {R_{re}(k)} \cdot \sin}\left( {\theta_{0} - \Delta} \right)}}} - {j \cdot {\sum{{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \cos}\left( {\theta_{0} - \Delta} \right)}}} +} \\ {{j \cdot {\sum{{{C_{im}(k)} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}}}} - {j \cdot {\sum{{{C_{im}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}}}}} \end{matrix}}^{2}} \end{matrix} & (38) \end{matrix}$

Here, the expressions are defined as shown in Expression 39 below. f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k)  (39)

Substituting each expression defined in Expression 39 into Expression 38 results in the following expression.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {\begin{matrix} {{\cos\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{\sin{\left( {\theta_{0} - \Delta} \right) \cdot f_{{im},{re}}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}} -} \\ {{j \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}}} - {j \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}} +} \\ {{{j \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {{j \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}} \end{matrix}}^{2}} \\ {= {\begin{pmatrix} {{\cos\;{\theta_{0} \cdot f_{{re},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}}}} +} \\ {{{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}}} \end{pmatrix}^{2} +}} \\ {\begin{pmatrix} {{{- {\sin\left( {\theta_{0} - \Delta} \right)}} \cdot f_{{re},{re}}} - {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}} +} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{im}}}}} \end{pmatrix}^{2}} \end{matrix} & (40) \end{matrix}$

Expanding this expression results in the following expression.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}}}} - {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}}} + {{{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{{\sin\left( {\theta - \Delta} \right)} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}}} + {{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}} + {{{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} - {{{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{re}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{im},{im}}} + {{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}}} + {{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}} - {{{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{{\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}}} + {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}} - {{{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{{\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot f_{{re},{im}}}} - {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}}} & (41) \end{matrix}$

Based on the above, when calculating the phase error of the quadrature demodulator 100, the numerator |ΣZ·R*|² of Expression 2 representing the correlation value ρ between the ideal signal R and the measured signal Z can be expressed by Expression 42 below.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\frac{1}{2} \cdot f_{{re},{re}} \cdot f_{{re},{re}} \cdot \left( {1 - {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right)} + {\frac{1}{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}} \cdot \left( {1 + {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right)} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}} \cdot \cos}\;\Delta} + {\frac{1}{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}} \cdot \left( {1 + {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right)} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} + {\frac{1}{2} \cdot f_{{im},{re}} \cdot f_{{im},{re}} \cdot \left( {1 - {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right)} - {{2 \cdot f_{{re},{im}} \cdot f_{{im},{re}} \cdot \cos}\;\Delta} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {f_{{re},{im}} \cdot f_{{re},{re}} \cdot {\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} + {f_{{im},{re}} \cdot f_{{im},{im}} \cdot {\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}}} = {{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\frac{1}{2} \cdot f_{{re},{re}} \cdot f_{{re},{re}}} + {\frac{1}{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {\frac{1}{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {\frac{1}{2} \cdot f_{{im},{re}} \cdot f_{{im},{re}}} + {\cos\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} + {\frac{1}{2} \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}}}} & (42) \end{matrix}$

The denominator Σ|R|² of Expression 2 into which Expressions 36 and 37 are substituted is expressed by Expression 43 below.

$\begin{matrix} \begin{matrix} {{\sum{R}^{2}} = {\sum\left\{ {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}} + {j \cdot \left\lbrack {{{R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} + {{R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}}} \right\rbrack}} \right\}^{2}}} \\ {= {\sum\left\{ {\left( {{{{R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{{R_{im}(k)} \cdot \sin}\;\theta_{0}}} \right)^{2} + {\cdot \left\lbrack {{{R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} + {{R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}}} \right\rbrack^{2}}} \right\}}} \\ {= {\sum\begin{Bmatrix} {{{{R_{re}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{re}(k)} \cdot \cos}\;\theta_{0}} - {{2 \cdot {R_{re}(k)} \cdot \cos}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} + {{{R_{im}(k)} \cdot \sin}\;{\theta_{0} \cdot {R_{im}(k)} \cdot \sin}\;\theta_{0}} +} \\ {{{R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot {R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)}} + {2 \cdot {R_{re}(k)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot {R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}} +} \\ {{R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot {R_{im}(k)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)}} \end{Bmatrix}}} \\ {= {{\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} +}} \\ {{{\sin\left( {\theta_{0} - \Delta} \right)} \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}} + {2 \cdot {\sin\left( {\theta_{0} - \Delta} \right)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}} +} \\ {{\cos\left( {\theta_{0} - \Delta} \right)} \cdot {\cos\left( {\theta_{0} - \Delta} \right)} \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}} \\ {= {{\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} +}} \\ {{\frac{1}{2} \cdot \left\lbrack {1 - {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right\rbrack \cdot {\sum{{R_{re}(k)} \cdot {R_{re}(k)}}}} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}} +} \\ {\frac{1}{2} \cdot \left\lbrack {1 + {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right\rbrack \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}} \end{matrix} & (43) \end{matrix}$

Here, the expressions are defined as shown in Expression 44. g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k)  (44)

Each expression defined in Expression 44 is substituted into Expression 43 to achieve Expression 45 below. In other words, when calculating the phase error of the quadrature demodulator 100, the denominator Σ|R|² of Expression 2 representing the correlation value ρ between the ideal signal R and the measured signal Z can be expressed by Expression 45.

$\begin{matrix} {{\sum{R}^{2}} = {{{\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} + {\frac{1}{2} \cdot \left\lbrack {1 - {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right\rbrack \cdot g_{{re},{re}}} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot g_{{re},{im}}} + {\frac{1}{2} \cdot \left\lbrack {1 + {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)}} \right\rbrack \cdot g_{{im},{im}}}} = {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} + {\frac{1}{2} \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot g_{{re},{im}}}}}} & (45) \end{matrix}$

Next, Expressions 42 and 45 are substituted into Expression 5, which represents an equation for which the derivative of the function ρ′ is 0.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} & (5) \end{matrix}$

Each expression on the left side of Expression 5 into which Expressions 42 and 45 are substituted is expressed by Expressions—46-1 and 46-2 below.

$\begin{matrix} \begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {{{- \sin}\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} +}} \\ {{\sin{\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right) \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)}} -} \\ {2 \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} \end{matrix} & \left( {46\text{-}1} \right) \\ {\left( {\sum{R}^{2}} \right)^{2} = \begin{bmatrix} {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +} \\ {{\frac{1}{2} \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot g_{{re},{im}}}} \end{bmatrix}^{2}} & \left( {46\text{-}2} \right) \end{matrix}$

Replacing the trigonometric functions of Expressions—46-1 and 46-2 with approximation expressions results in Expressions—47-1 and 47-2.

$\begin{matrix} \begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {{{- \Delta} \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)} +}} \\ {{\left\lbrack {{\sin\left( {2 \cdot \theta_{0}} \right)} - {2 \cdot \Delta \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} -} \\ {2 \cdot \left\lbrack {{\cos\left( {2 \cdot \theta_{0}} \right)} + {2 \cdot \Delta \cdot {\sin\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} \\ {= {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} +}} \\ {{{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} +} \\ {\Delta \cdot \begin{bmatrix} {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} -} \\ {{4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} - \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)} \end{bmatrix}} \end{matrix} & \left( {47\text{-}1} \right) \\ \begin{matrix} {\left( {\sum{R}^{2}} \right)^{2} = \begin{bmatrix} {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +} \\ {{\left\lbrack {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}} + {\Delta \cdot {\sin\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {\left\lbrack {{\sin\left( {2 \cdot \theta_{0}} \right)} - {2 \cdot \Delta \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot g_{{re},{im}}}} \end{bmatrix}^{2}} \\ {= \begin{bmatrix} {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +} \\ {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}} +} \\ {\Delta \cdot \left\lbrack {{{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}} \right\rbrack} \end{bmatrix}} \end{matrix} & \left( {47\text{-}2} \right) \end{matrix}$

Here, the expressions are defined as shown in Expression 48.

$\begin{matrix} {{{h_{1} = {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)}}}h_{2} = {{{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} - {4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} - {\left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)h_{3}}} = {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} + {\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}}}}\mspace{79mu}{h_{4} = {{{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}}}} & (48) \end{matrix}$

Each expression defined in Expression 48 is substituted into Expressions 47-1 and 47-2 to achieve Expressions—49-1 and 49-2.

$\begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {h_{1} + {\Delta \cdot h_{2}}}} & \left( {49\text{-}1} \right) \\ {\left( {\sum{R}^{2}} \right)^{2} = \left( {h_{3} + {\Delta \cdot h_{4}}} \right)^{2}} & \left( {49\text{-}2} \right) \end{matrix}$

Accordingly, the left side of Expression 5 into which Expressions 42 and 45 are substituted is expressed by Expression 50 below.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}} \right)^{2}} = {{\left( {h_{1} + {\Delta \cdot h_{2}}} \right) \cdot \left( {h_{3} + {\Delta \cdot h_{4}}} \right) \cdot \left( {h_{3} + {\Delta \cdot h_{4}}} \right)} = {{\left( {h_{1} + {\Delta \cdot h_{2}}} \right) \cdot \left( {{h_{3} \cdot h_{3}} + {2 \cdot h_{3} \cdot \Delta \cdot h_{4}} + {\Delta \cdot h_{4} \cdot \Delta \cdot h_{4}}} \right)} = {{{h_{1} \cdot h_{3} \cdot h_{3}} + {2 \cdot h_{1} \cdot h_{3} \cdot \Delta \cdot h_{4}} + {h_{1} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{4}} + {\Delta \cdot h_{2} \cdot h_{3} \cdot h_{3}} + {2 \cdot \Delta \cdot h_{2} \cdot h_{3} \cdot \Delta \cdot h_{4}} + {\Delta \cdot h_{2} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{4}}} = {{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{1} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{4}}} \right)} + {\Delta^{3} \cdot \left( {h_{2} \cdot h_{4} \cdot h_{4}} \right)}}}}}} & (50) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 50 to achieve a second-order equation expressed by Expression 51.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} \cong {{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{1} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{4}}} \right)}}} & (51) \end{matrix}$

Each expression on the right side of Expression 5 of into which Expressions 42 and 45 are substituted is expressed by Expressions—52-1, 52-2, and 52-3.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\cos\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\frac{1}{2} \cdot f_{{re},{re}} \cdot f_{{re},{re}}} + {\frac{1}{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {\frac{1}{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {\frac{1}{2} \cdot f_{{im},{re}} \cdot f_{{im},{re}}} + {\cos\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} + {\frac{1}{2} \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}}} & \left( {52\text{-}1} \right) \\ {{\sum{R}^{2}} = {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} + {\frac{1}{2} \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot g_{{re},{im}}}}} & \left( {52\text{-}2} \right) \\ {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {{{\sin\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot {\cos\left( {{2 \cdot \theta_{0}} - {2 \cdot \Delta}} \right)} \cdot g_{{re},{im}}}}} & \left( {52\text{-}3} \right) \end{matrix}$

Replacing the trigonometric functions of Expressions—52-1, 52-2, and 52-3 with approximation expressions results in Expressions—53-1, 53-2, and 53-3.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\cos\;{\theta \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}}}} + {\sin\;{\theta_{0} \cdot f_{{im},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} +}} \\ {{\sin\;{\theta_{0} \cdot f_{{re},{im}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}}}} -} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{im}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{\frac{1}{2} \cdot f_{{re},{re}} \cdot f_{{re},{re}}} + {\frac{1}{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {\frac{1}{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {\frac{1}{2} \cdot f_{{im},{re}} \cdot f_{{im},{re}}} +} \\ {{1 \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)} +} \\ {{\left\lbrack {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}} + {\Delta \cdot {\sin\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} +} \\ {\left\lbrack {{\sin\left( {2 \cdot \theta_{0}} \right)} - {2 \cdot \Delta \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} \\ {= {\begin{bmatrix} {{\frac{1}{2} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} +} \\ {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \\ {{\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)}} +} \\ {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot \begin{pmatrix} {{f_{{im},{im}} \cdot f_{{im},{im}}} +} \\ {f_{{re},{im}} \cdot f_{{re},{im}}} \end{pmatrix}}} - {2 \cdot}} \\ {{\cos\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}} +} \\ {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} +} \\ {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} \end{bmatrix} +}} \\ {\Delta \cdot \begin{bmatrix} {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} +} \\ {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} \end{bmatrix}} \end{matrix} & \text{(53-1)} \\ \begin{matrix} {{\sum{R}^{2}} = {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +}} \\ {{\left\lbrack {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}} + {\Delta \cdot {\sin\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {\left\lbrack {{\sin\left( {2 \cdot \theta_{0}} \right)} - {2 \cdot \Delta \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot g_{{re},{im}}}} \\ {= {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +}} \\ {{\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}} +} \\ {\Delta \cdot \left\lbrack {{{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}} \right\rbrack} \end{matrix} & \text{(53-2)} \\ \begin{matrix} {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {{\left\lbrack {{\sin\left( {2 \cdot \theta_{0}} \right)} - {2 \cdot \Delta \cdot {\cos\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot \left\lbrack {{\cos\left( {2 \cdot \theta_{0}} \right)} + {2 \cdot \Delta \cdot {\sin\left( {2 \cdot \theta_{0}} \right)}}} \right\rbrack \cdot g_{{re},{im}}}}} \\ {= {{{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {2 \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}} +}} \\ {\Delta \cdot \left\lbrack {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}} \right\rbrack} \end{matrix} & \text{(53-3)} \end{matrix}$

Here, each expression is defined as shown in Expression 54.

$\begin{matrix} {{h_{5} = {{\frac{1}{2} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot \left( {{f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}}} \right)}} - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}} + {\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}}}\mspace{79mu}{h_{6} = {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)} - {4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}}}} & \text{(54)} \end{matrix}$

Each expression defined in Expressions 48 and 54 is substituted into Expressions—53-1, 53-2, and 53-3 to achieve Expressions—55-1, 55-2, and 55-3.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {h_{5} + {\Delta \cdot h_{1}}}} & \left( {55\text{-}1} \right) \\ {{\sum{R}^{2}} = {h_{3} + {\Delta \cdot h_{4}}}} & \left( {55\text{-}2} \right) \\ {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {h_{4} + {\Delta \cdot h_{6}}}} & \left( {55\text{-}3} \right) \end{matrix}$

Accordingly, the right side of Expression 5 into which Expressions 42 and 45 are substituted is expressed by Expression 56.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} = {{\left( {h_{5} + {\Delta \cdot h_{1}}} \right) \cdot \left( {h_{3} + {\Delta \cdot h_{4}}} \right) \cdot \left( {h_{4} + {\Delta \cdot h_{6}}} \right)} = {{\left( {h_{5} + {\Delta \cdot h_{1}}} \right) \cdot \left( {{h_{3} \cdot h_{4}} + {h_{3} \cdot \Delta \cdot h_{6}} + {\Delta \cdot h_{4} \cdot h_{4}} + {\Delta \cdot h_{4} \cdot \Delta \cdot h_{6}}} \right)} = {{{h_{5} \cdot h_{3} \cdot h_{4}} + {h_{5} \cdot h_{3} \cdot \Delta \cdot h_{6}} + {h_{5} \cdot \Delta \cdot h_{4} \cdot h_{4}} + {h_{5} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{6}} + {\Delta \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot h_{1} \cdot h_{3} \cdot \Delta \cdot h_{6}} + {\Delta \cdot h_{1} \cdot \Delta \cdot h_{4} \cdot h_{4}} + {\Delta \cdot h_{1} \cdot \Delta \cdot h_{4} \cdot \Delta \cdot h_{6}}} = {{h_{5} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot \left( {{h_{5} \cdot h_{3} \cdot h_{6}} + {h_{5} \cdot h_{4} \cdot h_{4}} + {h_{1} \cdot h_{3} \cdot h_{4}}} \right)} + {\Delta^{2} \cdot \left( {{h_{5} \cdot h_{4} \cdot h_{6}} + {h_{1} \cdot h_{3} \cdot h_{6}} + {h_{1} \cdot h_{4} \cdot h_{4}}} \right)} + {\Delta^{3} \cdot \left( {h_{1} \cdot h_{4} \cdot h_{6}} \right)}}}}}} & (56) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 56 to achieve a second-order equation expressed by Expression 57.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} \cong {{h_{5} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot \left( {{h_{5} \cdot h_{3} \cdot h_{6}} + {h_{5} \cdot h_{4} \cdot h_{4}} + {h_{1} \cdot h_{3} \cdot h_{4}}} \right)} + {\Delta^{2} \cdot \left( {{h_{5} \cdot h_{4} \cdot h_{6}} + {h_{1} \cdot h_{3} \cdot h_{6}} + {h_{1} \cdot h_{4} \cdot h_{4}}} \right)}}} & (57) \end{matrix}$

Accordingly, the equation for which the derivative of the correlation value between the ideal signal R and the measured signal has a value of 0 can be expressed as a second-order equation of the variable Δ, as shown in Expression 58, by simplifying Expressions 51 and 57.

$\begin{matrix} {{{{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} - {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} = 0}{{{h_{1} \cdot h_{3} \cdot h_{3}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}}} \right)} + {\Delta^{2} \cdot \left( {{h_{1} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{4}}} \right)} - \left\lbrack {{h_{5} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot \left( {{h_{5} \cdot h_{3} \cdot h_{6}} + {h_{5} \cdot h_{4} \cdot h_{4}} + {h_{1} \cdot h_{3} \cdot h_{4}}} \right)} + {\Delta^{2} \cdot \left( {{h_{5} \cdot h_{4} \cdot h_{6}} + {h_{1} \cdot h_{3} \cdot h_{6}} + {h_{1} \cdot h_{4} \cdot h_{4}}} \right)}} \right\rbrack} = {{0{{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot \left( {{2 \cdot h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{6}} - {h_{5} \cdot h_{4} \cdot h_{4}} - {h_{1} \cdot h_{3} \cdot h_{4}}} \right)} + {\Delta^{2} \cdot \left( {{h_{1} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {h_{5} \cdot h_{4} \cdot h_{6}} - {h_{1} \cdot h_{3} \cdot h_{6}} - {h_{1} \cdot h_{4} \cdot h_{4}}} \right)}}} = {{{0{h_{1} \cdot h_{3} \cdot h_{3}}} - {h_{5} \cdot h_{3} \cdot h_{4}} + {\Delta \cdot \left( {{h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{6}} - {h_{5} \cdot h_{4} \cdot h_{4}}} \right)} + {\Delta^{2} \cdot \left( {{2 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {h_{5} \cdot h_{4} \cdot h_{6}} - {h_{1} \cdot h_{3} \cdot h_{6}} - {h_{1} \cdot h_{4} \cdot h_{4}}} \right)}} = 0}}}} & (58) \end{matrix}$

The calculating section 18 can calculate the value of the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z by calculating solutions of the variable Δ in the second-order equation expressed by Expression 58. The solutions to the second-order equation of Expression 58 are supplied by the formula for solutions shown in Expression 59. In Expression 59, h₁, h₂, h₃, h₄, h₅, and h₆ are as expressed in Expressions 48 and 54.

$\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4{ac}}}}{2a}}{a = {{2 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {h_{5} \cdot h_{4} \cdot h_{6}} - {h_{1} \cdot h_{3} \cdot h_{6}} - {h_{1} \cdot h_{4} \cdot h_{5}}}}{b = {{h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{6}} - {h_{5} \cdot h_{4} \cdot h_{4}}}}{c = {{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{4}}}}} & (59) \end{matrix}$

Based on the above, when calculating the phase error of the quadrature demodulator 100, the calculating section 18 can use Expression 59 to calculate a solution for the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z. In other words, the calculating section 18 calculates a solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z based on a second-order equation obtained by removing third-order terms and higher of the variable Δ from an equation for which the derivative of the function representing the correlation value between the ideal signal R and the measured signal Z has a value of 0. In this way, the calculating section 18 can calculate an approximate solution for the phase error of the quadrature demodulator 100 using a simple computation.

Furthermore, the calculating section 18 substitutes each of the two solutions of the second-order equation into a function, such as Expression 2, expressing the correlation value between the ideal signal R and the measured signal Z, and determines the phase error to be whichever of the two solutions results in a greater correlation value. In this way, the calculating section 18 selects a single solution from among the two solutions of the second-order equation.

As described above, the calculating section 18 of the present embodiment can use Expression 59 to calculate the phase error of the quadrature demodulator 100. In this way, the calculating section 18 can easily calculate the phase error without using the determinant of a matrix or the like.

The following is a detailed description of an exemplary computation performed by the calculating section 18 when calculating the phase error of the quadrature modulator 200.

The measured signal Z representing the real component and the imaginary component of the modulated signal output by the quadrature modulator 200 is expressed by Expression 60 below. In Expression 60, C_(re)(k) represents the real component of the measured signal Z, C_(im)(k) represents the imaginary component of the measured signal Z, and k represents an arbitrary sampling point of each signal. Z=C _(re)(k)+j·C _(im)(k)  (60)

The ideal signal R, which includes the phase error as the variable and expresses the measured signal to be output from the quadrature modulator 200, is expressed in Expression 61 below. In Expression 61, R_(re)(k) represents the real component of the signal under measurement supplied to the quadrature modulator 200, R_(im)(k) represents the imaginary component of the signal, Δ represents the phase error, and g represents the pre-measured gain error. If the gain error has not already been measured, the value of g in Expression 61 may be 0, for example.

$\begin{matrix} \begin{matrix} {R = {{R_{re}(k)} - {\left( {1 + g} \right) \cdot {R_{im}(k)} \cdot {\sin\left( {- \Delta} \right)}} + {j \cdot}}} \\ {\left( {1 + g} \right) \cdot {R_{im}(k)} \cdot {\cos\left( {- \Delta} \right)}} \\ {= {{R_{re}(k)} + {{\left( {1 + g} \right) \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{j \cdot \left( {1 + g} \right) \cdot {R_{im}(k)} \cdot \cos}\;\Delta}}} \end{matrix} & (61) \end{matrix}$

Expressions 60 and 61 are substituted into Expression 2, as shown below.

$\begin{matrix} {\rho^{\prime} = \frac{{{\sum{Z \cdot R^{*}}}}^{2}}{\sum{R}^{2}}} & (2) \end{matrix}$

The numerator |ΣZ·R*|² of Expression 2 into which Expressions 60 and 61 are substituted is expressed below in Expression 62.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{\sum\left\lbrack {\left( {{C_{re}(k)} + {j \cdot {C_{im}(k)}}} \right) \cdot \left\{ {{R_{re}(k)} + {{\left( {1 + g} \right) \cdot {R_{im}(k)} \cdot \sin}\;\Delta} - {{j \cdot \left( {1 - g} \right) \cdot {R_{im}(k)} \cdot \cos}\;\Delta}} \right\}} \right\rbrack}}^{2}} \\ {= {{\sum\begin{bmatrix} {{{C_{re}(k)} \cdot {R_{re}(k)}} + {{{C_{re}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{{C_{re}(k)} \cdot g \cdot {R_{im}(k)} \cdot \sin}\;\Delta} -} \\ {{{j \cdot {C_{re}(k)} \cdot {R_{im}(k)} \cdot \cos}\;\Delta} - {{j \cdot {C_{re}(k)} \cdot g \cdot {R_{im}(k)} \cdot \cos}\;\Delta} +} \\ {{j \cdot {C_{im}(k)} \cdot {R_{re}(k)}} + {{j \cdot {C_{im}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{j \cdot {C_{im}(k)} \cdot g \cdot {R_{im}(k)} \cdot \sin}\;\Delta} +} \\ {{{{C_{im}(k)} \cdot {R_{im}(k)} \cdot \cos}\;\Delta} + {{{C_{im}(k)} \cdot g \cdot {R_{im}(k)} \cdot \cos}\;\Delta}} \end{bmatrix}}}^{2}} \\ {= {\begin{matrix} {{\sum{{C_{re}(k)} \cdot {R_{re}(k)}}} + {\sin\;{\Delta \cdot {\sum{{C_{re}(k)} \cdot {R_{im}(k)}}}}} + {{g \cdot \sin}\;{\Delta \cdot {\sum{{{C_{re}(k)} \cdot R_{im}}(k)}}}} +} \\ {{\cos\;{\Delta \cdot {\sum{{C_{im}(k)} \cdot {R_{im}(k)}}}}} + {{g \cdot \cos}\;{\Delta \cdot {\sum{{{C_{im}(k)} \cdot R_{im}}(k)}}}} -} \\ {{{j \cdot \cos}\;{\Delta \cdot {\sum{{C_{re}(k)} \cdot {R_{im}(k)}}}}} - {{j \cdot g \cdot \cos}\;{\Delta \cdot {\sum{{C_{re}(k)} \cdot {R_{im}(k)}}}}} +} \\ {{j \cdot {\sum{{{C_{im}(k)} \cdot R_{re}}(k)}}} + {{j \cdot \sin}\;{\Delta \cdot {\sum{{C_{im}(k)} \cdot {R_{im}(k)}}}}} + {{j \cdot g \cdot \sin}\;{\Delta \cdot {\sum{{C_{im}(k)} \cdot {R_{im}(k)}}}}}} \end{matrix}}^{2}} \end{matrix} & (62) \end{matrix}$

Here, the expressions are defined as shown in Expression 63 below. f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k)  (63)

Substituting each expression defined in Expression 63 into Expression 62 results in the following expression.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {\begin{matrix} {f_{{re},{re}} + {\sin\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} -} \\ {{{j \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{j \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {j \cdot f_{{im},{re}}} + {{j \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{j \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}}} \end{matrix}}^{2}} \\ {= {\left( {f_{{re},{re}} + {\sin\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}}} \right)^{2} +}} \\ {\left( {{{- \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + f_{{im},{re}} + {\sin\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}}} \right)^{2}} \end{matrix} & (64) \end{matrix}$

Expanding this expression results in the following expression.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {{f_{{re},{re}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{f_{{re},{re}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{f_{{re},{re}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{f_{{re},{re}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot f_{{re},{re}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot f_{{re},{re}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot f_{{re},{re}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot f_{{re},{re}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {{f_{{im},{re}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{f_{{im},{re}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{f_{{im},{re}} \cdot f_{{im},{re}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{f_{{im},{re}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {\sin\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {\sin\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot f_{{im},{re}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot f_{{im},{re}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}}}} & (65) \end{matrix}$

Expanding this expression results in the expression shown below.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {{f_{{re},{re}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta\; \cdot f_{{im},{im}} \cdot f_{{re},{re}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot f_{{re},{re}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot f_{{re},{im}}}} - {{f_{{im},{re}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{f_{{im},{re}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{f_{{re},{re}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta\; \cdot f_{{re},{im}} \cdot f_{{re},{re}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot f_{{re},{re}}}} + {{f_{{im},{re}} \cdot \sin}\;{\Delta\; \cdot f_{{im},{im}}}} + {{f_{{im},{re}} \cdot g \cdot \sin}\;{\Delta\; \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot f_{{im},{re}}}} + {{g \cdot \sin}\;{\Delta\; \cdot f_{{im},{im}} \cdot f_{{im},{re}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{im},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\cos\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta\; \cdot f_{{re},{im}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {\cos\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {{g \cdot \cos}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} - {\sin\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {\sin\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta\; \cdot f_{{re},{im}}}} - {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} - {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \cos}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta\; \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{re},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{re},{im}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {\sin\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot f_{{im},{im}} \cdot g \cdot \sin}\;{\Delta \cdot f_{{im},{im}}}}}} & (66) \end{matrix}$

Simplifying the constants and trigonometric functions in this expression results in Expression 67.

$\begin{matrix} \begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} +}} \\ {{\cos\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} - {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} +} \\ {{\sin\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot f_{{im},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}} +} \\ {{\cos\;{\Delta \cdot \cos}\;{\Delta \cdot \begin{pmatrix} {{f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} +} \\ {{f_{{re},{im}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}}} \end{pmatrix}}} +} \\ {{\cos\;{\Delta \cdot \sin}\;{\Delta \cdot 0}} +} \\ {\sin\;{\Delta \cdot \sin}\;{\Delta \cdot \begin{pmatrix} {{f_{{re},{im}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} +} \\ {{f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}}} \end{pmatrix}}} \\ {= {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} +}} \\ {{\cos\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} - {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} +} \\ {{\sin\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot f_{{im},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}} +} \\ {{\frac{1}{2} \cdot \left\lbrack {1 + {\cos\left( {2 \cdot \Delta} \right)}} \right\rbrack \cdot \begin{pmatrix} {{f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} +} \\ {{f_{{re},{im}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}}} \end{pmatrix}} +} \\ {\frac{1}{2} \cdot \left\lbrack {1 - {\cos\left( {2 \cdot \Delta} \right)}} \right\rbrack \cdot \begin{pmatrix} {{f_{{re},{im}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} +} \\ {{f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}}} \end{pmatrix}} \end{matrix} & (67) \end{matrix}$

Further simplifying Expression 67 results in Expression 68.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {\cos\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} - {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)}} + {\sin\;{\Delta \cdot \left( {{2 \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot f_{{im},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{re}} \cdot f_{{im},{im}}}} \right)}}}} & (68) \end{matrix}$

Here, the expressions are defined as shown in Expression 69.

$\begin{matrix} {{h_{1} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} + {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}}}}{h_{2} = {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} - {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{im},{re}}}}}{h_{3} = {{2 \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot f_{{im},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{im},{re}} \cdot f_{{im},{im}}}}}} & (69) \end{matrix}$

By substituting each expression defined in Expression 69 into Expression 69, the denominator |ΣZ·R*|² of Expression 2 into which Expressions 60 and 61 are substituted becomes Expression 70 below. |ΣZ·R*| ² =h ₁+cos Δ·h ₂+sin Δ·h ₃  (70)

The denominator Σ|R|² of Expression 2 into which Expressions 60 and 61 are substituted is expressed by Expression 71.

$\begin{matrix} \begin{matrix} {{\sum{R}^{2}} = {\sum\left\{ {{R_{re}(k)} + {{\left( {1 + g} \right) \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{j \cdot \left( {1 + g} \right) \cdot {R_{im}(k)} \cdot \cos}\;\Delta}} \right\}^{2}}} \\ {= {\sum\left\{ {\left\lbrack {{R_{re}(k)} + {{{R_{im}(k)} \cdot \sin}\;\Delta} + {{g \cdot {R_{im}(k)} \cdot \sin}\;\Delta}} \right\rbrack^{2} + \left\lbrack {{{{R_{im}(k)} \cdot \cos}\;\Delta} + {{g \cdot {R_{im}(k)} \cdot \cos}\;\Delta}} \right\rbrack^{2}} \right\}}} \\ {= {\sum\begin{Bmatrix} \begin{matrix} \begin{matrix} {{{R_{re}(k)} \cdot {R_{re}(k)}} + {{{R_{re}(k)} \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{{R_{re}(k)} \cdot g \cdot {R_{im}(k)} \cdot \sin}\;\Delta} +} \\ {{{{R_{im}(k)} \cdot \sin}\;{\Delta \cdot {R_{re}(k)}}} + {{{R_{im}(k)} \cdot \sin}\;\Delta}\; + {{{R_{im}(k)} \cdot \sin}\;{\Delta \cdot g \cdot {R_{im}(k)} \cdot \sin}\;\Delta} +} \\ {{{g \cdot {R_{im}(k)} \cdot \sin}\;{\Delta \cdot {R_{re}(k)}}} + {{g \cdot {R_{im}(k)} \cdot \sin}\;{\Delta \cdot {R_{im}(k)} \cdot \sin}\;\Delta} + {{g \cdot {R_{im}(k)} \cdot \sin}\;{\Delta \cdot g \cdot {R_{im}(k)} \cdot \sin}\;\Delta} +} \end{matrix} \\ {{{{R_{im}(k)} \cdot \cos}\;{\Delta \cdot {R_{im}(k)} \cdot \cos}\;\Delta} + {{{R_{im}(k)} \cdot \cos}\;{\Delta \cdot g \cdot {R_{im}(k)} \cdot \cos}\;\Delta} +} \end{matrix} \\ {{{g \cdot {R_{im}(k)} \cdot \cos}\;{\Delta\; \cdot {R_{im}(k)} \cdot \cos}\;\Delta} + {{g \cdot {R_{im}(k)} \cdot \cos}\;{\Delta\; \cdot g \cdot {R_{im}(k)} \cdot \cos}\;\Delta}} \end{Bmatrix}}} \\ {= {{\sum{{R_{re}(k)} \cdot {R_{re}(k)}}} + {\sin\;{\Delta \cdot {\sum{{R_{re}(k)} \cdot {R_{im}(k)}}}}} + {{g \cdot \sin}\;{\Delta \cdot {\sum{{{R_{re}(k)} \cdot R_{im}}(k)}}}} +}} \\ {{\sin\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{re}(k)}}}}} + {\sin\;{\Delta \cdot \sin}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} + {{g \cdot \sin}\;{\Delta \cdot \sin}\;{\Delta \cdot {\sum{{{R_{im}(k)} \cdot R_{im}}(k)}}}} +} \\ {{{g \cdot \sin}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{re}(k)}}}}} + {{g \cdot \sin}\;{\Delta \cdot \sin}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} + {{g^{2} \cdot \sin}\;{\Delta \cdot \sin}\;{\Delta \cdot {\sum{{{R_{im}(k)} \cdot R_{im}}(k)}}}} +} \\ {{\cos\;{\Delta \cdot \cos}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} + {{g \cdot \cos}\;{\Delta \cdot \cos}\;{\Delta \cdot {\sum{{{R_{im}(k)} \cdot R_{im}}(k)}}}} +} \\ {{{g \cdot \cos}\;{\Delta \cdot \cos}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}} + {{g^{2} \cdot \cos}\;{\Delta \cdot \cos}\;{\Delta \cdot {\sum{{R_{im}(k)} \cdot {R_{im}(k)}}}}}} \end{matrix} & (71) \end{matrix}$

Here, the expressions are defined as shown in Expression 72 below. g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k)  (72)

Substituting each expression defined in Expression 72 into Expression 71 results in the following expression.

$\begin{matrix} {{\sum{R}^{2}} = {g_{{re},{re}} + {\sin\;{\Delta \cdot g_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot g_{{re},{im}}}} + {\sin\;{\Delta \cdot g_{{re},{im}}}} + {\sin\;{\Delta \cdot g_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta\; \cdot \sin}\;{\Delta \cdot g_{{im},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot g_{{re},{im}}}} + {{g \cdot \sin}\;{\Delta \cdot \sin}\;{\Delta \cdot g_{{im},{im}}}} + {{g^{2} \cdot \sin}\;{\Delta \cdot g_{{im},{im}}}} + {\cos\;{\Delta\; \cdot \cos}\;{\Delta \cdot g_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot \cos}\;{\Delta\; \cdot g_{{im},{im}}}} + {{g \cdot \cos}\;{\Delta \cdot \cos}\;{\Delta \cdot g_{{im},{im}}}} + {{g^{2} \cdot \cos}\;{\Delta\; \cdot \cos}\;{\Delta \cdot g_{{im},{im}}}}}} & (73) \end{matrix}$

Simplifying the constants and trigonometric functions in this expression results in Expression 74.

$\begin{matrix} {{\sum{R}^{2}} = {g_{{re},{re}} + {\sin\;{\Delta \cdot \left( {g_{{re},{im}} + {g \cdot g_{{re},{im}}} + g_{{re},{im}} + {g \cdot g_{{re},{im}}}} \right)}} + {\cos\;{\Delta \cdot \cos}\;{\Delta \cdot \left( {g_{{im},{im}} + {g \cdot g_{{im},{im}}} + {g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}}} \right)}} + {\sin\;{\Delta \cdot \sin}\;{\Delta \cdot \left( {g_{{im},{im}} + {g \cdot g_{{im},{im}}} + {g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}}} \right)}}}} & (74) \end{matrix}$

Further simplifying Expression 74 results in Expression 75.

$\begin{matrix} {{\sum{R}^{2}} = {{g_{{re},{re}} + {\sin\;{\Delta \cdot \left( {{2 \cdot g_{{re},{im}}} + {2 \cdot g \cdot g_{{re},{im}}}} \right)}} + {\frac{1}{2} \cdot \left\lbrack {1 + {\cos\left( {2 \cdot \Delta} \right)}} \right\rbrack \cdot \left( {g_{{im},{im}} + {2 \cdot g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}}} \right)} + {\frac{1}{2} \cdot \left\lbrack {1 - {\cos\left( {2 \cdot \Delta} \right)}} \right\rbrack \cdot \left( {g_{{im},{im}} + {2 \cdot g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}}} \right)}} = {g_{{re},{re}} + g_{{im},{im}} + {2 \cdot g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}} + {\sin\;{\Delta \cdot \left( {{2 \cdot g_{{re},{im}}} + {2 \cdot g \cdot g_{{re},{im}}}} \right)}}}}} & \text{(75)} \end{matrix}$

Here, the expressions are defined as shown in Expression 76. h ₄ =g _(re,re) +g _(im,im)+2·g·g _(im,im) +g ² ·g _(im,im) h ₅=2·g _(re,im)+2·g·g _(re,im)  (76)

By substituting each expression defined in Expression 76 into Expression 75, the denominator Σ|R|² of Expression 2 into which Expressions 60 and 61 are substituted becomes Expression 77 below. Σ|R| ² =h ₄+sin Δ·h ₅  (77)

Next, Expressions 70 and 77 are substituted into Expression 5, which represents an equation for which the derivative of the function ρ′ is 0.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} & (5) \end{matrix}$

Each expression on the left side of Expression 5 into which Expressions 70 and 77 are substituted is expressed by Expressions—78-1 and 78-2 below.

$\begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {{{- \sin}\;{\Delta \cdot h_{2}}} + {\cos\;{\Delta \cdot h_{3}}}}} & \left( {78\text{-}1} \right) \\ {\left( {\sum{R}^{2}} \right)^{2} = \left\lbrack {h_{4} + {\sin\;{\Delta \cdot h_{5}}}} \right\rbrack^{2}} & \left( {78\text{-}2} \right) \end{matrix}$

Replacing the trigonometric functions of Expressions—78-1 and 78-2 with approximation expressions results in Expressions—79-1 and 79-2.

$\begin{matrix} {\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} = {{{- \Delta} \cdot h_{2}} + h_{3}}} & \left( {79\text{-}1} \right) \\ {\left( {\sum{R}^{2}} \right)^{2} = \left\lbrack {h_{4} + {\Delta \cdot h_{5}}} \right\rbrack^{2}} & \left( {79\text{-}2} \right) \end{matrix}$

Accordingly, the left side of Expression 5 into which Expressions 70 and 77 are substituted is expressed by Expression 80 below.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)} = {{\left( {{{- \Delta} \cdot h_{2}} + h_{3}} \right) \cdot \left( {h_{4} + {\Delta \cdot h_{5}}} \right)^{2}} = {{\left( {{{- \Delta} \cdot h_{2}} + h_{3}} \right) \cdot \left( {{h_{4} \cdot h_{4}} + {h_{4} \cdot 2 \cdot \Delta \cdot h_{5}} + {\Delta \cdot h_{5} \cdot \Delta \cdot h_{5}}} \right)} = {{{- \Delta} \cdot h_{2} \cdot h_{4} \cdot h_{4}} - {\Delta \cdot h_{2} \cdot h_{4} \cdot 2 \cdot \Delta \cdot h_{5}} - {\Delta \cdot h_{2} \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{5}} + {h_{3} \cdot h_{4} \cdot h_{4}} + {h_{3} \cdot h_{4} \cdot 2 \cdot \Delta \cdot h_{5}} + {h_{3} \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{5}}}}}} & (80) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 80 to achieve a second-order equation expressed by Expression 81.

$\begin{matrix} {{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} = {{{{- \Delta} \cdot h_{2} \cdot h_{4} \cdot h_{4}} - {\Delta \cdot h_{2} \cdot h_{4} \cdot 2 \cdot \Delta \cdot h_{5}} + {h_{3} \cdot h_{4} \cdot h_{4}} + {h_{3} \cdot h_{4} \cdot 2 \cdot \Delta \cdot h_{5}} + {h_{3} \cdot \Delta \cdot h_{5} \cdot \Delta \cdot h_{5}}} = {{h_{3} \cdot h_{4} \cdot h_{4}} + {\Delta \cdot \left( {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{3} \cdot h_{4} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot \left( {{{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}} + {h_{3} \cdot h_{5} \cdot h_{5}}} \right)}}}} & (81) \end{matrix}$

Each expression on the right side of Expression 5 of into which Expressions 70 and 77 are substituted is expressed by Expressions—82-1, 82-2, and 82-3.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {h_{1} + {\cos\;{\Delta \cdot h_{2}}} + {\sin\;{\Delta \cdot h_{3}}}}} & \left( {82\text{-}1} \right) \\ {{\sum{R}^{2}} = {h_{4} + {\sin\;{\Delta \cdot h_{5}}}}} & \left( {82\text{-}2} \right) \\ {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = {\cos\;{\Delta \cdot h_{5}}}} & \left( {82\text{-}3} \right) \end{matrix}$

Replacing the trigonometric functions of Expressions—82-1, 82-2, and 82-3 with approximation expressions results in Expressions—83-1, 83-2, and 83-3.

$\begin{matrix} {{{\sum{Z \cdot R^{*}}}}^{2} = {h_{1} + h_{2} + \;{\Delta \cdot h_{3}}}} & \left( {83\text{-}1} \right) \\ {{\sum{R}^{2}} = {h_{4} + {\Delta \cdot h_{5}}}} & \left( {83\text{-}2} \right) \\ {\frac{\partial{\sum{R}^{2}}}{\partial\Delta} = h_{5}} & \left( {83\text{-}3} \right) \end{matrix}$

Accordingly, the right side of Expression 5 into which Expressions 70 and 77 are substituted is expressed by Expression 84.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} = {{\left( {h_{1} + h_{2} + \;{\Delta \cdot h_{3}}} \right) \cdot \left( {h_{4} + {\Delta \cdot h_{5}}} \right) \cdot h_{5}} = {{\left( {h_{1} + h_{2} + \;{\Delta \cdot h_{3}}} \right) \cdot \left( {{h_{4} \cdot h_{5}} + {\Delta \cdot h_{5} \cdot h_{5}}} \right)} = {{h_{1} \cdot h_{4} \cdot h_{5}} + {h_{1} \cdot \Delta \cdot h_{5} \cdot h_{5}} + {h_{2} \cdot h_{4} \cdot h_{5}} + {h_{2} \cdot \Delta \cdot h_{5} \cdot h_{5}} + {\Delta \cdot h_{3} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot h_{3} \cdot \Delta \cdot h_{5} \cdot h_{5}}}}}} & (84) \end{matrix}$

Terms of a third-order or higher of the variable Δ are removed from Expression 84 to achieve a second-order equation expressed by Expression 85.

$\begin{matrix} {{{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}} = {{{h_{1} \cdot h_{4} \cdot h_{5}} + {h_{1} \cdot \Delta \cdot h_{5} \cdot h_{5}} + {h_{2} \cdot h_{4} \cdot h_{5}} + {h_{2} \cdot \Delta \cdot h_{5} \cdot h_{5}} + {\Delta \cdot h_{3} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot h_{3} \cdot \Delta \cdot h_{5} \cdot h_{5}}} = {{h_{1} \cdot h_{4} \cdot h_{5}} + {h_{2} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot \left( {{h_{1} \cdot h_{5} \cdot h_{5}} + {h_{2} \cdot h_{5} \cdot h_{5}} + {h_{3} \cdot h_{4} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot h_{3} \cdot h_{5} \cdot h_{5}}}}} & (85) \end{matrix}$

Accordingly, when calculating the phase error of the quadrature modulator 200, an equation for which the derivative of the correlation value between the ideal signal R and the measured signal has a value of 0 can be expressed as a second-order equation of the variable Δ, as shown in Expression 86, by simplifying Expressions 81 and 85.

$\begin{matrix} {{{{\frac{\partial{{\sum{Z \cdot R^{*}}}}^{2}}{\partial\Delta} \cdot \left( {\sum{R}^{2}} \right)^{2}} - {{{\sum{Z \cdot R^{*}}}}^{2} \cdot {\sum{{R}^{2} \cdot \frac{\partial{\sum{R}^{2}}}{\partial\Delta}}}}} = 0}{{{h_{3} \cdot h_{4} \cdot h_{4}} + {\Delta \cdot \left( {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{3} \cdot h_{4} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot \left( {{{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}} + {h_{3} \cdot h_{5} \cdot h_{5}}} \right)} - \left\lbrack {{h_{1} \cdot h_{4} \cdot h_{5}} + {h_{2} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot \left( {{h_{1} \cdot h_{5} \cdot h_{5}} + {h_{2} \cdot h_{5} \cdot h_{5}} + {h_{3} \cdot h_{4} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot h_{3} \cdot h_{5} \cdot h_{5}}} \right\rbrack} = 0}{{{h_{3} \cdot h_{4} \cdot h_{4}} - {h_{1} \cdot h_{4} \cdot h_{5}} - {h_{2} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot \left( {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {2 \cdot h_{3} \cdot h_{4} \cdot h_{5}} - {h_{1} \cdot h_{5} \cdot h_{5}} - {h_{2} \cdot h_{5} \cdot h_{5}} - {h_{3} \cdot h_{4} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot \left( {{{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}} + {h_{3} \cdot h_{5} \cdot h_{5}} - {h_{3} \cdot h_{5} \cdot h_{5}}} \right)}} = 0}{{{h_{3} \cdot h_{4} \cdot h_{4}} + {h_{1} \cdot h_{4} \cdot h_{5}} - {h_{2} \cdot h_{4} \cdot h_{5}} + {\Delta \cdot \left( {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {h_{3} \cdot h_{4} \cdot h_{5}} - {h_{1} \cdot h_{5} \cdot h_{5}} - {h_{2} \cdot h_{5} \cdot h_{5}}} \right)} + {\Delta^{2} \cdot \left( {{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}} \right)}} = 0}} & (86) \end{matrix}$

The calculating section 18 can calculate the value of the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z by calculating solutions of the variable Δ in the second-order equation expressed by Expression 86. The solutions to the second-order equation of Expression 86 are supplied by the formula for solutions shown in Expression 87. In Expression 86, h₁, h₂, h₃, h₄, h₅, and h₆ are as expressed in Expressions 69 and 76.

$\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4\;{ac}}}}{2a}}{a = {{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}}}{b = {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {h_{3} \cdot h_{4} \cdot h_{5}} - {h_{1} \cdot h_{5} \cdot h_{5}} - {h_{2} \cdot h_{5} \cdot h_{5}}}}{c = {{h_{3} \cdot h_{4} \cdot h_{4}} - {h_{1} \cdot h_{4} \cdot h_{5}} - {h_{2} \cdot h_{4} \cdot h_{5}}}}} & (87) \end{matrix}$

Based on the above, when calculating the phase error of the quadrature modulator 200, the calculating section 18 can use Expression 87 to calculate a solution for the variable Δ that maximizes the correlation value between the ideal signal R and the measured signal Z. In other words, the calculating section 18 calculates a solution for the variable that maximizes the correlation value between the ideal signal R and the measured signal Z based on a second-order equation obtained by removing third-order terms and higher of the variable Δ from an equation for which the derivative of the function representing the correlation value between the ideal signal R and the measured signal Z has a value of 0. In this way, the calculating section 18 can calculate an approximate solution for the phase error of the quadrature modulator 200 using a simple computation.

Furthermore, the calculating section 18 substitutes each of the two solutions of the second-order equation into a function, such as Expression 2, expressing the correlation value between the ideal signal R and the measured signal Z, and determines the phase error to be whichever of the two solutions results in a greater correlation value. In this way, the calculating section 18 selects a single solution from among the two solutions of the second-order equation.

As described above, the calculating section 18 of the present embodiment can use Expression 87 to calculate the phase error of the quadrature modulator 200. In this way, the calculating section 18 can easily calculate the phase error without using the determinant of a matrix or the like.

FIG. 3 shows a flow chart for calculation of the gain error and the phase error performed by the measurement apparatus 10 according to the present embodiment. In the present embodiment, the calculating section 18 may calculate a solution of the variable that maximizes the correlation value between the measured signal and the ideal signal in which either the gain error or the phase error, whichever of these two errors is not being measured, has a value of 0. In this way, the calculating section 18 can perform the calculation easily by treating the error not being measured as having a value of 0.

If whichever of the gain error and the phase error not being measured has already been calculated, the calculating section 18 may calculate a solution of the variable that maximizes the correlation value between the measured signal and the ideal signal that includes the calculated error as a constant. Instead, the calculating section 18 may calculate a solution of the variable that maximizes the correlation value between the ideal signal and the measured signal that has been corrected based on the calculated error. In this way, the calculating section 18 can more accurately calculate the error.

The calculating section 18 may calculate the gain error and the phase error according to the process flow shown in FIG. 3. First, the calculating section 18 uses Expression 31, for example, to calculate the gain error (S1001). In this case, the calculating section 18 calculates the gain error while assuming a value of 0 for the phase error.

Next, the calculating section 18 uses Expression 59 or Expression 87, for example, to calculate the phase error (S1002). In this case, the calculating section 18 corrects the ideal signal or the measured signal according to the gain error calculated at step S1001. When calculating the phase error of the quadrature demodulator 100, for example, the calculating section 18 performs the calculation using Expression 59, based on the measured signal corrected according to the gain error calculated at step S1001. On the other hand, when calculating the phase error of the quadrature modulator 200, for example, the calculating section 18 performs the calculation using Expression 87, with the gain error calculated at step S1001 substituted for the parameter g representing the gain error.

Next, the calculating section 18 uses Expression 31, for example, to recalculate the gain error (S1003). In this case, the calculating section 18 corrects the measured signal according to the phase difference calculated at step S1002.

In this way, the calculating section 18 repeatedly and alternately calculates the gain error and the phase error with an error calculation process that uses the measured signal or the ideal signal in which an error, which has been measured previously and is not the error being currently measured, is corrected. Therefore, the calculating section 18 can accurately calculate the gain error and the phase error.

FIG. 4 shows an example of a hardware configuration of a computer 1900 according to the present embodiment. The computer 1900 according to the present embodiment is provided with a CPU peripheral including a CPU 2000, a RAM 2020, a graphic controller 2075, and a display apparatus 2080, all of which are connected to each other by a host controller 2082; an input/output section including a communication interface 2030, a measurement interface 2032, a hard disk drive 2040, and a CD-ROM drive 2060, all of which are connected to the host controller 2082 by an input/output controller 2084; and a legacy input/output section including a ROM 2010, a flexible disk drive 2050, and an input/output chip 2070, all of which are connected to the input/output controller 2084.

The host controller 2082 is connected to the RAM 2020 and is also connected to the CPU 2000 and graphic controller 2075 accessing the RAM 2020 at a high transfer rate. The CPU 2000 operates to control each section based on programs stored in the ROM 2010 and the RAM 2020. The graphic controller 2075 acquires image data generated by the CPU 2000 or the like on a frame buffer disposed inside the RAM 2020 and displays the image data in the display apparatus 2080. In addition, the graphic controller 2075 may internally include the frame buffer storing the image data generated by the CPU 2000 or the like.

The input/output controller 2084 connects the communication interface 2030 serving as a relatively high speed input/output apparatus, and the hard disk drive 2040, and the CD-ROM drive 2060 to the host controller 2082. The communication interface 2030 communicates with other apparatuses via a network. The hard disk drive 2040 stores the programs and data used by the CPU 2000 housed in the computer 1900. The CD-ROM drive 2060 reads the programs and data from a CD-ROM 2095 and provides the read information to the hard disk drive 2040 via the RAM 2020.

Furthermore, the input/output controller 2084 is connected to the ROM 2010, and is also connected to the flexible disk drive 2050 and the input/output chip 2070 serving as a relatively high speed input/output apparatus. The ROM 2010 stores a boot program performed when the computer 1900 starts up, a program relying on the hardware of the computer 1900, and the like. The flexible disk drive 2050 reads programs or data from a flexible disk 2090 and supplies the read information to the hard disk drive 2040 via the RAM 2020. The input/output chip 2070 connects the flexible disk drive 2050 to the input/output controller 2084 along with each of the input/output apparatuses via, a parallel port, a serial port, a keyboard port, a mouse port, or the like.

The programs provided to the hard disk drive 2040 via the RAM 2020 are stored in a storage medium, such as the flexible disk 2090, the CD-ROM 2095, or an IC card, and provided by a user. The programs are read from storage medium, installed in the hard disk drive 2040 inside the computer 1900 via the RAM 2020, and performed by the CPU 2000.

The programs installed in the computer 1900 to make the computer 1900 function as a portion of the measurement apparatus 10 are provided with an output control module, a detection module, and a calculation module. These programs and modules prompt the CPU 2000 or the like to make the computer 1900 function as the output control section 14, the detecting section 16, and the calculating section 18, respectively.

The programs and modules shown above may also be stored in an external storage medium. The flexible disk 2090, the CD-ROM 2095, an optical storage medium such as a DVD or CD, a magneto-optical storage medium, a tape medium, a semiconductor memory such as an IC card, or the like can be used as the storage medium. Furthermore, a storage apparatus such as a hard disk or RAM that is provided with a server system connected to the Internet or a specialized communication network may be used to provide the programs to the computer 1900 via the network.

Although some aspects of the present invention have been described by way of exemplary embodiments, it should be understood that those skilled in the art might make many changes and substitutions without departing from the spirit and the scope of the present invention which is defined only by the appended claims.

The operations, the processes, the steps, or the like in the apparatus, the system, the program, and the method described in the claims, the specification, and the drawings are not necessarily performed in the described order. The operations, the processes, the steps, or the like can be performed in an arbitrary order, unless the output of the former-described processing is used in the later processing. Even when expressions such as “First,” or “Next,” or the like are used to explain the operational flow in the claims, the specification, or the drawings, they are intended to facilitate the understanding of the invention, and are never intended to show that the described order is mandatory. 

1. A measurement apparatus that measures, as an error under measurement, at least one of a gain error and a phase error of a quadrature demodulator or a quadrature modulator serving as a measurement target, the measurement apparatus comprising: an output control section that causes the measurement target to output a signal; a detecting section that detects a measured signal representing a real component and an imaginary component of the signal output from the measurement target; and a calculating section that calculates, as the gain error or the phase error, based on (i) the measured signal detected by the detecting section and (ii) an ideal signal that represents the measured signal that should be output by the measurement target and includes a variable representing the error under measurement, a value of the variable that maximizes a correlation value between the measured signal detected by the detecting section and the ideal signal.
 2. The measurement apparatus according to claim 1, wherein the calculating section calculates the value of the variable that maximizes the correlation value between the ideal signal and the measured signal based on an equation for which a derivative of a function representing the correlation value between the ideal signal and the measured signal has a value of
 0. 3. The measurement apparatus according to claim 2, wherein the calculating section calculates the value of the variable that maximizes the correlation value between the ideal signal and the measured signal based on an equation for which the derivative of a function ρ′ has a value of 0, wherein $\rho^{\prime} = {\frac{{{\sum{Z \cdot R^{\star}}}}^{2}}{\sum{R}^{2}}.}$ R represents the ideal signal, Z represents the measured signal, and R* represents a complex conjugate of R.
 4. The measurement apparatus according to claim 2, wherein the calculating section calculates the value of the variable that maximizes the correlation value between the ideal signal and the measured signal based on a second-order equation obtained by removing third-order terms and higher of the variable from the equation for which the derivative of the function representing the correlation value between the ideal signal and the measured signal has a value of
 0. 5. The measurement apparatus according to claim 4, wherein the calculating section substitutes two solutions of the second-order equation into the function representing the correlation value between the ideal signal and the measured signal, and determines the gain error or the phase error to be whichever of the two solutions results in a larger correlation value.
 6. The measurement apparatus according to claim 5, wherein when the gain error of the quadrature demodulator is measured, the calculating section uses the following expression: $\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4\;{ac}}}}{2a}}{a = {{3 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {3 \cdot h_{5} \cdot h_{6} \cdot h_{4}}}}{b = {{h_{1} \cdot h_{3} \cdot h_{4}} + {2 \cdot h_{2} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{4}} - {2 \cdot h_{5} \cdot h_{6} \cdot h_{3}}}}{{c = {{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{4} \cdot h_{6} \cdot h_{3}}}},}} & \; \end{matrix}$ Δ represents the gain error, h₁, h₂, h₃, h₄, h₅, and h₆ are defined as follows: $\begin{matrix} {h_{1} = {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} +}} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{4 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {{2 \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \\ {h_{2} = {{\sin\;{\theta_{0} \cdot f_{{im},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot f_{{im},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} +}} \\ {{\cos\;{\theta_{0} \cdot f_{{im},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{im},{im}}}} + {\sin\;{\theta_{0} \cdot f_{{re},{re}} \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}}}} +} \\ {{{2 \cdot \sin}\;{\theta_{0} \cdot f_{{re},{re}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot f_{{re},{im}} \cdot \cos}\;{\theta_{0} \cdot f_{{re},{im}}}}} \\ {h_{3} = {g_{{re},{re}} + g_{{im},{im}}}} \\ {h_{4} = {{{2 \cdot \sin}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{4 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} +}} \\ {{2 \cdot \cos}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}} \\ {h_{5} = {{\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{re}}}} + {{2 \cdot \sin}\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{im},{im}}}}}} \\ {h_{6} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} -}} \\ {{{2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}}},} \end{matrix}$ θ₀ represents a phase difference between a reference signal of the quadrature demodulator serving as the measurement target and a carrier signal of a modulated signal supplied to the quadrature demodulator, each expression included in h₁, h₂, h₃, h₄, h₅, and h₆ is defined as follows: f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k) g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k) C_(re)(k) represents the real component of the measured signal, C_(im)(k) represents the imaginary component of the measured signal, R_(re)(k) represents a real component of the modulated signal supplied to the quadrature demodulator serving as the measurement target, R_(im)(k) represents an imaginary component of the modulated signal, and k represents an arbitrary sampling point.
 7. The measurement apparatus according to claim 6, wherein when the gain error of the quadrature modulator is measured, the calculating section corrects a phase of the measured signal according to θ₀, and performs the calculation using the following expression: $\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4\;{ac}}}}{2a}$ a = 3 ⋅ h₂ ⋅ h₃ ⋅ h₄ − 3 ⋅ h₅ ⋅ h₆ ⋅ h₄ b = h₁ ⋅ h₃ ⋅ h₄ + 2 ⋅ h₂ ⋅ h₃ ⋅ h₃ − h₄ ⋅ h₆ ⋅ h₄ − 2 ⋅ h₅ ⋅ h₆ ⋅ h₃ c = h₁ ⋅ h₃ ⋅ h₃ − h₄ ⋅ h₆ ⋅ h₃.
 8. The measurement apparatus according to claim 5, wherein when the phase error of the quadrature demodulator is measured, the calculating section uses the following expression: $\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4\;{ac}}}}{2a}}{a = {{2 \cdot h_{2} \cdot h_{3} \cdot h_{4}} - {h_{5} \cdot h_{4} \cdot h_{6}} - {h_{1} \cdot h_{3} \cdot h_{6}} - {h_{1} \cdot h_{4} \cdot h_{5}}}}{b = {{h_{1} \cdot h_{3} \cdot h_{4}} + {h_{2} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{6}} - {h_{5} \cdot h_{4} \cdot h_{4}}}}{{c = {{h_{1} \cdot h_{3} \cdot h_{3}} - {h_{5} \cdot h_{3} \cdot h_{4}}}},}} & \; \end{matrix}$ Δ represents the phase error, h₁, h₂, h₃, h₄, h₅, h₆ are defined as follows: $\begin{matrix} {h_{1} = {{{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot}}} \\ {\left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} \\ {h_{2} = {{- 2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} +} \right.}} \\ {\left. {{f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right) - {4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot}} \\ {\left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right) - \left( {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}}} \right)} \\ {h_{3} = {{\frac{1}{2} \cdot g_{{re},{re}}} + {\frac{1}{2} \cdot g_{{im},{im}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot g_{{re},{re}}}} -}} \\ {{{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{re},{im}}}} + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot g_{{im},{im}}}} +} \\ {{{\frac{1}{2} \cdot \cos}{\left( {2 \cdot \theta_{0}} \right) \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)}} + {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}} \\ {h_{4} = {{\sin{\left( {2 \cdot \theta_{0}} \right) \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)}} - {{2 \cdot \cos}\;{\left( {2 \cdot \theta_{0}} \right) \cdot g_{{re},{im}}}}}} \\ {h_{5} = {{\frac{1}{2} \cdot \left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right)} +}} \\ {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} + {\cos\;{\theta_{0} \cdot \cos}\;{\theta_{0} \cdot}}} \\ {\left( {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}}} \right) + {\sin\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot}}} \\ {\left( {{f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}}} \right) - {{2 \cdot \cos}\;{\theta_{0} \cdot \sin}\;{\theta_{0} \cdot}}} \\ {\left( {{f_{{re},{re}} \cdot f_{{re},{im}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right) + {\frac{1}{2} \cdot {\cos\left( {2 \cdot \theta_{0}} \right)} \cdot}} \\ {\left( {{{- f_{{re},{re}}} \cdot f_{{re},{re}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} - {f_{{im},{re}} \cdot f_{{im},{re}}}} \right) +} \\ {{\sin\left( {2 \cdot \theta_{0}} \right)} \cdot \left( {{f_{{re},{im}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{im}}}} \right)} \\ {{h_{6} = {{{{- 2} \cdot \cos}{\left( {2 \cdot \theta_{0}} \right) \cdot \left( {g_{{im},{im}} - g_{{re},{re}}} \right)}} - {4 \cdot {\sin\left( {2 \cdot \theta_{0}} \right)} \cdot g_{{re},{im}}}}},} \end{matrix}$ θ₀ represents phase difference between a reference signal of the quadrature demodulator serving as the measurement target and a carrier signal of a modulated signal supplied to the quadrature demodulator, each expression included in h₁, h₂, h₃, h₄, h₅, h₆ is defined as follows: f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k) g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k) C_(re)(k) represents the real component of the measured signal, C_(im)(k) represents the imaginary component of the measured signal, R_(re)(k) represents a real component of the modulated signal supplied to the quadrature demodulator serving as the measurement target, R_(im)(k) represents an imaginary component of the modulated signal, and k represents an arbitrary sampling point.
 9. The measurement apparatus according to claim 5, wherein when the phase error of the quadrature modulator is measured, the calculating section uses the following expression: $\begin{matrix} {{\Delta = \frac{{- b} \pm \sqrt{b^{2} - {4\;{ac}}}}{2a}}{a = {{- 2} \cdot h_{2} \cdot h_{4} \cdot h_{5}}}{b = {{{- h_{2}} \cdot h_{4} \cdot h_{4}} + {h_{3} \cdot h_{4} \cdot h_{5}} - {h_{1} \cdot h_{5} \cdot h_{5}} - {h_{2} \cdot h_{5} \cdot h_{5}}}}{{c = {{h_{3} \cdot h_{4} \cdot h_{4}} - {h_{1} \cdot h_{4} \cdot h_{5}} - {h_{2} \cdot h_{4} \cdot h_{5}}}},}} & \; \end{matrix}$ Δ represents the phase error, h₁, h₂, h₃, h₄, and h₅ are defined as follows: $\begin{matrix} {h_{1} = {{f_{{re},{re}} \cdot f_{{re},{re}}} + {f_{{im},{re}} \cdot f_{{im},{re}}} + {f_{{re},{im}} \cdot f_{{re},{im}}} + {f_{{im},{im}} \cdot f_{{im},{im}}} +}} \\ {{2 \cdot g \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {g^{2} \cdot f_{{im},{im}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{re},{im}}} +} \\ {g^{2} \cdot f_{{re},{im}} \cdot f_{{re},{im}}} \\ {h_{2} = {{2 \cdot f_{{re},{re}} \cdot f_{{im},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{im},{im}}} - {2 \cdot f_{{re},{im}} \cdot f_{{im},{re}}} -}} \\ {2 \cdot g \cdot f_{{re},{im}} \cdot f_{{im},{re}}} \\ {h_{3} = {{2 \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot g \cdot f_{{re},{re}} \cdot f_{{re},{im}}} + {2 \cdot f_{{im},{re}} \cdot f_{{im},{im}}} +}} \\ {2 \cdot g \cdot f_{{im},{re}} \cdot f_{{im},{im}}} \\ {h_{4} = {g_{{re},{re}} + g_{{im},{im}} + {2 \cdot g \cdot g_{{im},{im}}} + {g^{2} \cdot g_{{im},{im}}}}} \\ {{h_{5} = {{2 \cdot g_{{re},{im}}} + {2 \cdot g \cdot g_{{re},{im}}}}},} \end{matrix}$ g represents the gain error, each expression included in h₁, h₂, h₃, h₄, and h₅ and is defined as follows: f _(re,re) =ΣC _(re)(k)·R _(re)(k) f _(im,im) =ΣC _(im)(k)·R _(im)(k) f _(im,re) =ΣC _(im)(k)·R _(re)(k) f _(re,im) =ΣC _(re)(k)·R _(im)(k) g _(re,re) =ΣR _(re)(k)·R _(re)(k) g _(im,im) =ΣR _(im)(k)·R _(im)(k) g _(im,re) =ΣR _(im)(k)·R _(re)(k) g _(re,im) =ΣR _(re)(k)·R _(im)(k) C_(re)(k) represents the real component of the measured signal, C_(im)(k) represents the imaginary component of the measured signal, R_(re)(k) represents a real component of a signal supplied to the quadrature demodulator serving as the measurement target, R_(im)(k) represents an imaginary component of a signal supplied to the quadrature demodulator serving as the measurement target, and k represents an arbitrary sampling point.
 10. The measurement apparatus according to claim 5, wherein the calculating section calculates the value of the variable that maximizes the correlation value between the measured signal and the ideal signal in which the gain error or the phase error, whichever is not the error under measurement, has a value of
 0. 11. The measurement apparatus according to claim 10, wherein when the gain error or the phase error, whichever is not the error under measurement, has been calculated, the calculating section calculates the value of the variable that maximizes the correlation value between the measured signal and the ideal signal that includes the calculated error as a constant.
 12. A non-transitory computer readable medium storing thereon a program that causes an information processing apparatus to function as a measurement apparatus that measures, as an error under measurement, at least one of a gain error and a phase error of a quadrature demodulator or a quadrature modulator serving as a measurement target, the program causing the information processing apparatus to function as a measurement apparatus comprising: an output control section that causes the measurement target to output a signal; a detecting section that detects a measured signal representing a real component and an imaginary component of the signal output from the measurement target; and a calculating section that calculates, as the gain error or the phase error, based on (i) the measured signal detected by the detecting section and (ii) an ideal signal that represents the measured signal that should be output by the measurement target and includes a variable representing the error under measurement, a value of the variable that maximizes a correlation value between the measured signal detected by the detecting section and the ideal signal that. 